TPixmap: | Fields | Methods | Functions |
pixels | A byte pointer to the pixmap's pixels |
width | The width, in pixels, of the pixmap |
height | The height, in pixels, of the pixmap |
pitch | The pitch, in bytes, of the pixmap |
format | The pixel format of the pixmap |
capacity | The capacity, in bytes, of the pixmap, or -1 for a static pixmap |
PixelPtr | Get memory address of a pixel |
Window | Create a virtual window into a pixmap |
Copy | Duplicate a pixmap |
Paste | Paste a pixmap |
Convert | Convert a pixmap |
ReadPixel | Read a pixel from a pixmap |
WritePixel | Write a pixel to a pixmap |
ClearPixels | Clear a pixmap |
Create | Create a pixmap |
CreateStatic | Create a static pixmap |
Field pixels:Byte Ptr | |
Description | A byte pointer to the pixmap's pixels |
Field width | |
Description | The width, in pixels, of the pixmap |
Field height | |
Description | The height, in pixels, of the pixmap |
Field pitch | |
Description | The pitch, in bytes, of the pixmap |
Field format | |
Description | The pixel format of the pixmap |
Field capacity | |
Description | The capacity, in bytes, of the pixmap, or -1 for a static pixmap |
Method PixelPtr:Byte Ptr( x,y ) | |
Returns | A byte pointer to the pixel at coordinates x, y |
Description | Get memory address of a pixel |
Method Window:TPixmap( x,y,width,height ) | |
Returns | A static pixmap that references the specified rectangle. |
Description | Create a virtual window into a pixmap |
Method Copy:TPixmap() | |
Returns | A new TPixmap object. |
Description | Duplicate a pixmap |
Method Paste( source:TPixmap,x,y ) | |
Description | Paste a pixmap |
Method Convert:TPixmap( format ) | |
Returns | A new TPixmap object in the specified format |
Description | Convert a pixmap |
Method ReadPixel( x,y ) | |
Returns | The pixel at the specified coordinates packed into an integer |
Description | Read a pixel from a pixmap |
Method WritePixel( x,y,argb ) | |
Description | Write a pixel to a pixmap |
Method ClearPixels( argb ) | |
Description | Clear a pixmap |
Function Create:TPixmap( width,height,format,align=4 ) | |
Returns | A new TPixmap object |
Description | Create a pixmap |
Function CreateStatic:TPixmap( pixels:Byte Ptr,width,height,pitch,format ) | |
Returns | A new TPixmap object |
Description | Create a static pixmap |