8 struct C2D_SpriteSheet_s;
9 typedef struct C2D_SpriteSheet_s* C2D_SpriteSheet;
C2D_Image C2D_SpriteSheetGetImage(C2D_SpriteSheet sheet, size_t index)
Retrieves the specified image from the specified sprite sheet.
C2D_SpriteSheet C2D_SpriteSheetLoadFromHandle(FILE *f)
Load sprite sheet from stdio file handle.
C2D_SpriteSheet C2D_SpriteSheetLoad(const char *filename)
Load a sprite sheet from file.
C2D_SpriteSheet C2D_SpriteSheetLoadFromMem(const void *data, size_t size)
Load a sprite sheet from memory.
void C2D_SpriteSheetFree(C2D_SpriteSheet sheet)
Free a sprite sheet.
size_t C2D_SpriteSheetCount(C2D_SpriteSheet sheet)
Retrieves the number of sprites in the specified sprite sheet.
C2D_SpriteSheet C2D_SpriteSheetFromFD(int fd)
Load sprite sheet from file descriptor.
Basic citro2d initialization and drawing API.