[Overview][Constants][Types][Classes][Index] |
Saves the surface pixels to a pixel array.
Source position: line 0
procedure IPTCSurface.Save( |
APixels: Pointer; |
AWidth: Integer; |
AHeight: Integer; |
APitch: Integer; |
AFormat: IPTCFormat; |
APalette: IPTCPalette |
); |
APixels: Pointer; |
AWidth: Integer; |
AHeight: Integer; |
APitch: Integer; |
AFormat: IPTCFormat; |
APalette: IPTCPalette; |
ASource: IPTCArea; |
ADestination: IPTCArea |
); |
APixels |
|
The destination pixel data. |
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 destination pixel data. |
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 saved. |
ADestination |
|
The destination area where pixels will be saved to the pixel data array. |
Saves an area of the surface pixels to (or to an area of) the pixel data array APixels. 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.