CL_MagickProvider3
Surface provider that can nearly load any graphics file format.
Class members
- static CL_Surface *
create( -
std::string name, CL_InputSourceProvider *provider, EPixelFormat pixelformat = RGBA8888, bool use_transcol=false, int transcol=0)
- static CL_Surface *
create( -
std::string name, CL_InputSourceProvider *provider, int red_mask, int green_mask, int blue_mask, int alpha_mask, bool use_transcol=false, int transcol=0)
CL_MagickProvider(-
std::string name, CL_InputSourceProvider *provider, EPixelFormat pixelformat = RGBA8888, bool use_transcol=false, int transcol=0)
CL_MagickProvider(-
std::string name, CL_InputSourceProvider *provider, int red_mask, int green_mask, int blue_mask, int alpha_mask, bool use_transcol=false, int transcol=0)
- virtual
~CL_MagickProvider()
- virtual unsigned int
get_pitch()
- virtual unsigned int
get_width()
- virtual unsigned int
get_height()
- virtual unsigned int
get_num_frames()
- virtual unsigned int
get_red_mask()
- virtual unsigned int
get_green_mask()
- virtual unsigned int
get_blue_mask()
- virtual unsigned int
get_alpha_mask()
- virtual CL_Palette *
get_palette()
- virtual unsigned int
get_src_colorkey()
- virtual bool
uses_src_colorkey()
- virtual bool
is_indexed()
- virtual void *
get_data()
- virtual void
perform_lock()
- virtual void
perform_unlock()
Members with descriptions
- static CL_Surface *
create( -
std::string name, CL_InputSourceProvider *provider, EPixelFormat pixelformat = RGBA8888, bool use_transcol=false, int transcol=0)
Description:
- static CL_Surface *
create( -
std::string name, CL_InputSourceProvider *provider, int red_mask, int green_mask, int blue_mask, int alpha_mask, bool use_transcol=false, int transcol=0)
Description:
CL_MagickProvider(-
std::string name, CL_InputSourceProvider *provider, EPixelFormat pixelformat = RGBA8888, bool use_transcol=false, int transcol=0)
Description:
CL_MagickProvider(-
std::string name, CL_InputSourceProvider *provider, int red_mask, int green_mask, int blue_mask, int alpha_mask, bool use_transcol=false, int transcol=0)
Description:
- virtual
~CL_MagickProvider() -
Description:
- virtual unsigned int
get_pitch() -
Description:
Returns the pitch of the image (bytes per line).
- virtual unsigned int
get_width() -
Description:
Returns the width of the image.
- virtual unsigned int
get_height() -
Description:
Returns the height of the image.
- virtual unsigned int
get_num_frames() -
Description:
Returns the number of subsprites in the image.
- virtual unsigned int
get_red_mask() -
Description:
Returns the red mask.
- virtual unsigned int
get_green_mask() -
Description:
Returns the blue mask.
- virtual unsigned int
get_blue_mask() -
Description:
Returns the green mask.
- virtual unsigned int
get_alpha_mask() -
Description:
Returns the alpha mask.
- virtual CL_Palette *
get_palette() -
Description:
Returns the palette used by the image. NULL if system palette.
- virtual unsigned int
get_src_colorkey() -
Description:
Returns the transparency color used.
- virtual bool
uses_src_colorkey() -
Description:
Returns whether src colorkeying is used.
- virtual bool
is_indexed() -
Description:
Returns always false as the Magick Provider doesn't support PAL8 output
- virtual void *
get_data() -
Description:
Returns the image data. Provider must be locked before pointer is valid.
- virtual void
perform_lock() -
Description:
Locks the surface provider.
- virtual void
perform_unlock() -
Description:
Unlocks the surface provider.