Defined Types



SpriteImage

See Also:
tagSpriteImage
typedef struct tagSpriteImage {
    unsigned int cx;
    unsigned int cy;
    unsigned int depth;
    unsigned int scan_length;
    unsigned int endian;
    void *bits;
    void *img;
    int auto_free;
} SpriteImage;

Platform independent representation of a bitmap image

Field Descriptions
cx
Width of image in pixels
cy
Height of image in pixels
depth
Depth in bits per pixel
scan_length
Length of one scan line
endian
Byte order of pixels
bits
Pointer to actual image pixels
img
Pointer to window-system-dependent representation of image
auto_free
Reserved for future use.

© 2005 Jeffrey T. Read (Last Updated 7/27/2005)