static UPInt SF_STDCALL GetFormatPitch(ImageFormat fmt, UInt32 width, unsigned plane = 0);
GetFormatPitch returns the pitch (distance in bytes between rows) of the given image format.
|
Parameters |
Description |
|
ImageFormat fmt |
A variable of type ImageFormat which specifies the image format. |
|
UInt32 width |
The width of the image. |
|
unsigned plane = 0 |
An index value specifying the plane. |
The pitch (distance in bytes between rows) of the given image format.