![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
The image source interface.
Contained in: global
Derived from:
CL_Target
Derived by:
CL_Canvas
CL_JPEGProvider
CL_JPGDProvider
CL_SurfaceProvider_32bpp
CL_SurfaceProvider_Generic
Group: Display (Display 2D)
#include <ClanLib/display.h>
public function member index: |
||
Construction: |
||
static CL_SurfaceProvider* | load | (const std::string& resource_id, CL_ResourceManager* manager); |
virtual | ~CL_SurfaceProvider | (); |
Attributes: |
||
virtual int | get_translate_x | () const; |
virtual int | get_translate_y | () const; |
virtual bool | uses_src_colorkey | () const; |
virtual unsigned int | get_src_colorkey | () const; |
virtual void | get_pixel | (int x, int y, float* r, float* g, float* b, float* a); |
virtual int | get_pixel | (int x, int y); |
Returns - The x-offset of the surface data.
Returns - The y-offset of the surface data.