Important: The information in this document is obsolete and should not be used for new development.
SetCPixelTo set the color of an individual pixel, use the
PROCEDURE SetCPixel (h,v: Integer; cPix: RGBColor);
- The horizontal coordinate of the point at the upper-left corner of the pixel.
- The vertical coordinate of the point at the upper-left corner of the pixel.
DESCRIPTIONFor the pixel at the location you specify in the
SetCPixelprocedure sets a pixel value that most closely matches the RGB color that you specify in the
cPixparameter. On an indexed color system, the
SetCPixelprocedure sets the pixel value to the index of the best-matching color in the current device's CLUT. In a direct environment, the
SetCPixelprocedure sets the pixel value to a 16-bit or 32-bit direct pixel value.
SetCPixelprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
SEE ALSOTo determine the color of an individual pixel, use the
GetCPixelprocedure, which is described on page 4-71.