9#ifndef __FLYWEIGHT_BIGRESOURCE_H__
10#define __FLYWEIGHT_BIGRESOURCE_H__
50 int image_width,
int image_height,
int position_x,
int position_y);
void BigResource_Render(Display *display, int bigResourceId, int offset_x, int image_width, int image_height, int position_x, int position_y)
Render the specified portion of the big resource into the given display at the given coordinates in t...
void BigResource_Clear(BigResource *resource)
Clear the BigResource object, freeing any memory associated with it.
Declaration of the Display_Create() and Display_Destroy() functions for managing the Display structur...
Represents a big image. Call the BigResource_Clear() function to release the memory used by each inst...
char * data
Image data, row-oriented.
int numImages
Number of images represented in the big image.
Represents a "display" window, in which to render Flyweight images. This "display" window is then pri...