31typedef struct AtlasImageInterface AtlasImageInterface;
72struct AtlasImageInterface {
77 ImageInterface imageInterface;
99 SDL_FRect (*texcoords)(
const AtlasImage *self);
OBJECTIVELYMVC_EXPORT Class * _AtlasImage(void)
static Image * image(Theme *self, const char *name, float pixelDensity)
#define OBJECTIVELYMVC_EXPORT
An Image packed into an ImageAtlas.
AtlasImageInterface * interface[0]
The interface type.
SDL_Rect rect
This AtlasImage's rectangle within the atlas sheet, in texels.
Image image
The superclass.
ImageAtlas * atlas
The ImageAtlas this AtlasImage belongs to, or NULL once that atlas has been released,...
Packs many Images into one sheet, backed by one Texture.