
Pixel data container. More...
Derived from: | None |
Derived by: | None |
Group: | Display (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a pixel buffer. |
| |
Returns true if the PixelBuffer doesn't contain any data. | |
Create a copy of the pixelbuffer that doesn't share data with the original pixel buffer. | |
Returns the pixel format of the pixel 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 the pixel at coordinates x and y. | |
Returns a new pixel buffer, copying the area specified by rect. |
| |
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. | |
Convert one line of pixel data to target buffer. | |
Converts current buffer to a new pixel format and returns the result. | |
Sets a new colorkey without converting the buffer. | |
Draw a pixel at (x, y) using the specified color. | |
Flip the entire image vertically (turn it upside down). |