#include <provider_jpeg.h>
Inheritance diagram for CL_JPEGProvider:


Public Methods | |
| CL_JPEGProvider (CL_String name, CL_InputSourceProvider *provider=NULL, bool transparent=true, bool ignore_alphachannel=false) | |
| virtual | ~CL_JPEGProvider () |
| param: name - Name of the PNG file to load.param: provider - Input source provider that delivers the JPEG file.param: transparent - True if a transparency color should be used.param: ignore_alphachannel - True if the alpha component should be ignored.param: trans_red - Red component of the transparency color.param: trans_green - Green component of the transparency color.param: trans_blue - blue component of the transparency color. | |
| virtual unsigned int | get_pitch () const |
| virtual unsigned int | get_width () const |
| virtual unsigned int | get_height () const |
| virtual unsigned int | get_num_frames () const |
| retval: A pointer that points to the beginning of the target pixel data. | |
| virtual EPixelFormat | get_pixel_format () const |
| virtual CL_Palette* | get_palette () const |
| virtual unsigned int | get_src_colorkey () const |
| virtual bool | uses_src_colorkey () const |
| retval: The y-offset of the surface data. | |
| virtual bool | is_indexed () const |
| virtual unsigned int | get_red_mask () const |
| virtual unsigned int | get_green_mask () const |
| virtual unsigned int | get_blue_mask () const |
| virtual unsigned int | get_alpha_mask () const |
| virtual void* | get_data () const |
| virtual void | lock () |
| retval: True if stored in video memory, false otherwise. | |
| virtual void | unlock () |
Static Public Methods | |
| CL_Surface* | create (const CL_String &handle, CL_InputSourceProvider *provider=NULL, bool transparent=true, bool ignore_alphachannel=false) |
Private Attributes | |
| class CL_JPEGProvider_Generic* | impl |
|
|
|
|
|
param: name - Name of the PNG file to load.param: provider - Input source provider that delivers the JPEG file.param: transparent - True if a transparency color should be used.param: ignore_alphachannel - True if the alpha component should be ignored.param: trans_red - Red component of the transparency color.param: trans_green - Green component of the transparency color.param: trans_blue - blue component of the transparency color.
|
|
|
|
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
retval: A pointer that points to the beginning of the target pixel data.
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
|
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_SurfaceProvider. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
retval: True if stored in video memory, false otherwise.
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
retval: The y-offset of the surface data.
Reimplemented from CL_SurfaceProvider. |
|
|
Definition at line 106 of file provider_jpeg.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001