|
virtual void | copyTo (IImage *target, const core::position2d< s32 > &pos=core::position2d< s32 >(0, 0))=0 |
| copies this surface into another More...
|
|
virtual void | copyTo (IImage *target, const core::position2d< s32 > &pos, const core::rect< s32 > &sourceRect, const core::rect< s32 > *clipRect=0)=0 |
| copies this surface into another More...
|
|
virtual void | copyToScaling (void *target, u32 width, u32 height, ECOLOR_FORMAT format=ECF_A8R8G8B8, u32 pitch=0)=0 |
| Copies the image into the target, scaling the image to fit. More...
|
|
virtual void | copyToScaling (IImage *target)=0 |
| Copies the image into the target, scaling the image to fit. More...
|
|
virtual void | copyToScalingBoxFilter (IImage *target, s32 bias=0, bool blend=false)=0 |
| copies this surface into another, scaling it to fit, appyling a box filter More...
|
|
virtual void | copyToWithAlpha (IImage *target, const core::position2d< s32 > &pos, const core::rect< s32 > &sourceRect, const SColor &color, const core::rect< s32 > *clipRect=0)=0 |
| copies this surface into another, using the alpha mask and cliprect and a color to add with More...
|
|
virtual void | fill (const SColor &color)=0 |
| fills the surface with given color More...
|
|
virtual u32 | getAlphaMask () const =0 |
| Returns mask for alpha value of a pixel. More...
|
|
virtual u32 | getBitsPerPixel () const =0 |
| Returns bits per pixel. More...
|
|
virtual u32 | getBlueMask () const =0 |
| Returns mask for blue value of a pixel. More...
|
|
virtual u32 | getBytesPerPixel () const =0 |
| Returns bytes per pixel. More...
|
|
virtual ECOLOR_FORMAT | getColorFormat () const =0 |
| Returns the color format. More...
|
|
virtual const core::dimension2d< u32 > & | getDimension () const =0 |
| Returns width and height of image data. More...
|
|
virtual u32 | getGreenMask () const =0 |
| Returns mask for green value of a pixel. More...
|
|
virtual u32 | getImageDataSizeInBytes () const =0 |
| Returns image data size in bytes. More...
|
|
virtual u32 | getImageDataSizeInPixels () const =0 |
| Returns image data size in pixels. More...
|
|
virtual u32 | getPitch () const =0 |
| Returns pitch of image. More...
|
|
virtual SColor | getPixel (u32 x, u32 y) const =0 |
| Returns a pixel. More...
|
|
virtual u32 | getRedMask () const =0 |
| Returns mask for red value of a pixel. More...
|
|
virtual void * | lock ()=0 |
| Lock function. Use this to get a pointer to the image data. More...
|
|
virtual void | setPixel (u32 x, u32 y, const SColor &color, bool blend=false)=0 |
| Sets a pixel. More...
|
|
virtual void | unlock ()=0 |
| Unlock function. More...
|
|
| IReferenceCounted () |
| Constructor. More...
|
|
virtual | ~IReferenceCounted () |
| Destructor. More...
|
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one. More...
|
|
const c8 * | getDebugName () const |
| Returns the debug name of the object. More...
|
|
s32 | getReferenceCount () const |
| Get the reference count. More...
|
|
void | grab () const |
| Grabs the object. Increments the reference counter by one. More...
|
|
Interface for software image data.
Image loaders create these images from files. IVideoDrivers convert these images into their (hardware) textures.
Definition at line 22 of file IImage.h.