TWidgetSet.DCGetPixel function
Gets the color for a pixel on the specified device context.
Declaration
function DCGetPixel(CanvasHandle: HDC; X: Integer; Y: Integer)
: TGraphicsColor; virtual; abstractArguments
CanvasHandle | Handle (device context) with the image data examined in the method. |
X | Horizontal coordinate for the pixel examined in the method. |
Y | Vertical coordinate for the pixel examined in the method. |
Function result
TGraphicsColor value with the color for the specified pixel.
Description
Defined as an abstract virtual method. Must be implemented in a descendent class to use the image format and device context needed for the platform.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
