extern KADMOS_ERROR KADMOS_API re_getpixel (const ReImage *image, long x, long y, long *color);
image
x, y
color
0
= Black and 1
= White0x
followed by 2 characters of
0
bis F
, z.B.0x00
= Black to 0xFF
= White0x
followed by 6 characters of
0
to F
, e.g.0x000000
= Black, 0xFFFFFF
= White,0xFF0000
= Red, 0x00FF00
= Green, 0x0000FF
= Blue, 0xFFFF00
= Yellow
RE_SUCCESS or KADMOS error type.
This function retrieves the color of any pixel of a ReImage image given by its coordinates (x,y).