Global Mapper SDK
| GM_RasterLayout_t Fields |
The GM_RasterLayout_t type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
mAlphaBandIdx |
0-based alpha channel band index (usually 0 or 3). Ignored unless GM_RasterLayout_AlphaPresent flag is set.
|
|
|
mBitsPerBand |
Number of bits per band of data (usually 8)
|
|
|
mBytesPerRow |
Number of bytes per row of data in data buffer. If 0 this will be calculated for you.
|
|
|
mFlags |
General flags for layout.
|
|
|
mNumBands |
Number of bands of data (usually 1 for grayscale or 3 for RGB)
|
|
|
mPalette |
Array of colors for palette (set to NULL for no palette)
|
|
|
mPixelHeight |
Number of pixels in the y direction
|
|
|
mPixelWidth |
Number of pixels in the x direction
|
|
|
mTopLeft |
Ground coordinates of top left corner of the top left pixel
|
|
|
mXPixelSize |
Size of each pixel in the x direction
|
|
|
mYPixelSize |
Size of each pixel in the y direction
|
Comments
0 comments
Please sign in to leave a comment.