[Overview][Constants][Types][Classes][Index] |
Creates a surface with given dimensions and a pixel format.
Source position: surfaced.inc line 36
class function TPTCSurfaceFactory.CreateNew( |
AWidth: Integer; |
AHeight: Integer; |
AFormat: IPTCFormat |
):IPTCSurface; |
AWidth |
|
The width of the surface. |
AHeight |
|
The height of the surface. |
AFormat |
|
The pixel format of the surface. |
Creates a surface with dimensions of AWidth by AHeight pixels and a pixel format of AFormat.
TPTCError - a TPTCError exception is raised on failure.