/* * call-seq: * height * h * * Return the height (in pixels) of the surface. */ VALUE rbgm_surface_get_h(VALUE self) { SDL_Surface *surf; Data_Get_Struct(self, SDL_Surface, surf); return INT2NUM(surf->h); }