Public Methods |
| | CL_Surface () |
| | param: provider - Image source.param: delete_provider - If true, the surface will delete the provider when deleted itself.retval: The surface created.construction:.
|
| | CL_Surface (CL_SurfaceProvider *provider, bool delete_provider=false, bool dynamic=false, class CL_Resource *resource=NULL) |
| | CL_Surface (const char *resource_id, CL_ResourceManager *manager) |
| | param: provider - Image source.param: delete_provider - If true, the surface will delete the provider when deleted itself.param: dynamic - If true, a dynamic blitter will be chosen. If false, a caching blitter will be used.retval: The surface created.
|
| | CL_Surface (const CL_Surface &surface) |
| virtual | ~CL_Surface () |
| | operator bool () const |
| | functions:.
|
| const CL_Surface& | operator= (const CL_Surface &surf) |
| void | reload () |
| CL_SurfaceProvider* | get_provider () const |
| void | put_screen (int x, int y, int spr_no=0, CL_DisplayCard *card=NULL) |
| | retval: Surface provider used by this surface.info: Display functions.
|
| void | put_screen (int x, int y, float scale_x, float scale_y, int spr_no=0, CL_DisplayCard *card=NULL) |
| | param: x - x coordinate to draw surface.param: y - y coordinate to draw surface.param: spr_no - subsprite number to use.param: card - Display card to be drawn onto. If NULL it will use the currently selected video card by CL_Display.
|
| void | put_screen (int x, int y, int size_x, int size_y, int spr_no=0, CL_DisplayCard *card=NULL) |
| | param: x - x coordinate to draw surface.param: y - y coordinate to draw surface.param: scale_x - scale x multiplyer.param: scale_y - scale y multiplyer.param: spr_no - subsprite number to use.param: card - Display card to be drawn onto. If NULL it will use the currently selected video card by CL_Display.
|
| void | put_target (int x, int y, int spr_no, CL_Target *target) |
| | param: x - x coordinate to draw surface.param: y - y coordinate to draw surface.param: size_x - width of the image when scaled.param: size_y - height of the image when scaled.param: spr_no - subsprite number to use.param: card - Display card to be drawn onto. If NULL it will use the currently selected video card by CL_Display.
|
| unsigned int | get_width () const |
| | param: x - x coordinate to draw surface.param: y - y coordinate to draw surface.param: spr_no - subsprite number to use.param: target - target.
|
| unsigned int | get_height () const |
| unsigned int | get_num_frames () const |
| bool | is_video (CL_DisplayCard *card=NULL) const |
| bool | is_loaded (CL_DisplayCard *card=NULL) const |
| bool | convert_video (CL_DisplayCard *card=NULL) |
| bool | convert_system (CL_DisplayCard *card=NULL) |
| void | flush (CL_DisplayCard *card=NULL) |
| | CL_Surface (class CL_Surface_Generic *impl) |
| | implementation:.
|
Public Attributes |
| class CL_Surface_Generic* | impl |
Static Public Methods |
| CL_Surface* | load (const char *resource_id, CL_ResourceManager *manager) |
| | static_init:.
|
| CL_Surface* | create (CL_SurfaceProvider *provider, bool delete_provider=false) |
| CL_Surface* | create_dynamic (CL_SurfaceProvider *provider, bool delete_provider=false) |
| | param: provider - Image source.param: delete_provider - If true, the surface will delete the provider when deleted itself.retval: The surface created.
|