Get the pointer to the first pixel of a scanline in a map.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
void* zmap_GetScanlinePtr(ZMAP hMap, long j);
Name | Type | Comment |
---|---|---|
hMap | ZMAP | A ZMAP handle to a map. |
j | long | The y-axis coordinate of the scanline. Note the origin is at the southwest corner of the map. |
A null pointer if:
zmap_GetMosaicFlag
), or;
Otherwise, the return value is the pointer to the first pixel in the scanline. The number of pixels in the scanline is given by zmap_GetWidth
, and the type and size of the pixel data in the scanline may be retrieved from zmap_GetMapType
and zmap_GetPixelSize
.
None.