[Overview][Constants][Types][Classes][Index] |
Loads pixels from a pixel array to the surface.
Source position: line 0
procedure IPTCSurface.Load( |
const APixels: Pointer; |
AWidth: Integer; |
AHeight: Integer; |
APitch: Integer; |
AFormat: IPTCFormat; |
APalette: IPTCPalette |
); |
const APixels: Pointer; |
AWidth: Integer; |
AHeight: Integer; |
APitch: Integer; |
AFormat: IPTCFormat; |
APalette: IPTCPalette; |
ASource: IPTCArea; |
ADestination: IPTCArea |
); |
APixels |
|
The pixel data to be loaded. |
AWidth |
|
The width of the pixel data in pixels. |
AHeight |
|
The height of the pixel data in pixels. |
APitch |
|
The pitch of the pixel data in bytes. |
AFormat |
|
The format of the pixel data. |
APalette |
|
The palette of the pixel data (ignored in direct color). |
APixels |
|
The pixel data to be loaded. |
AWidth |
|
The width of the pixel data in pixels. |
AHeight |
|
The height of the pixel data in pixels. |
APitch |
|
The pitch of the pixel data in bytes. |
AFormat |
|
The format of the pixel data. |
APalette |
|
The palette of the pixel data (ignored in direct color). |
ASource |
|
The source area of pixels to be loaded. |
ADestination |
|
The destination area where pixels will be loaded on the surface. |
Loads an area of pixels from the pixel array APixels to the surface (or to an area of the surface). The source and destination areas (if specified) are clipped to the surface clip area and the dimensions of the pixel data.
TPTCError - a TPTCError exception is raised on failure.