Table of Contents

zmap_SetPixel

Description

Set the value of a pixel in a map.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetPixel(ZMAP hMap, long x, long y, void* pValue);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to a map, the pixel of which is to be set.
x long The x-coordinate of the pixel.
y long The y-coordinate of the pixel.
pValue void* A pointer (of unknown type) to the user-supplied entity that shall provide the pixel value.

Return value

False if an error occurred, and true otherwise.

Comments

None.

Example

Please refer to the example given for zmap_GetPixel.