Pixel data container. More...
Derived from: | None |
Derived by: | None |
Group: | Display (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a null instance. |
| |
Returns true if this object is invalid. | |
Throw an exception if this object is invalid. | |
Create a copy of the pixelbuffer that doesn't share data the orl pixel ixel ixel buffer. | |
Returns the palette of the pixel buffer. | |
Returns the buffer width. | |
Returns the buffer height. | |
Returns the width and height of the buffer. | |
Returns the pitch (bytes per scanline). | |
Returns a pointer to the beginning of the pixel buffer. | |
Returns a pointer to the beginning of the pixel buffer as 8 bit data. | |
Returns a pointer to the beginning of the pixel buffer as 16 bit data. | |
Returns a pointer to the beginning of the pixel buffer as 32 bit data. | |
Returns a pointer to the beginning of a specific line. | |
Returns a pointer to the beginning of a specific line as 8 bit data. | |
Returns a pointer to the beginning of a specific line as 16 bit data. | |
Returns a pointer to the beginning of a specific line as 32 bit data. | |
Returns true if format uses a source color key. | |
Returns the source color key. | |
Returns the number of bytes per pixel. | |
Returns the red component color mask (if available) | |
Returns the green component color mask (if available) | |
Returns the blue component color mask (if available) | |
Returns the alpha component color mask (if available) | |
Returns the pixel format. | |
Get Provider. | |
Return color of pixel at the specified coordinates. |
| |
Maps buffer into system memory. | |
Unmaps element buffer. | |
Uploads data to buffer. | |
Return true if the CL_PixelBuffer is valid and usable. | |
Convert pixel buffer to the pixel format of the target buffer, storing the result in the target buffer. | |
Converts current buffer to a new pixel format and returns the result. | |
Sets a new colorkey without converting the buffer. | |
Flip the entire image vertically (turn it upside down) | |
Mutiply the RGB components by the Alpha component. |