GDI Macros (Windows CE 5.0)
The following table shows the GDI macros.
Programming element | Description |
---|---|
GetBValue | Retrieves an intensity value for the blue component of a 32-bit RGB value. |
GetGValue | Retrieves an intensity value for the green component of a 32-bit RGB value. |
GetRValue | Retrieves an intensity value for the red component of a 32-bit RGB value. |
InsetRect | Calls the InflateRect function, passing in the negative value of the specified x- and y-coordinates. |
MAKEROP4 | Creates a quaternary raster operation (ROP) code for use by the MaskBlt function. |
PALETTEINDEX2BPP | Accepts an index to a logical-color palette entry and returns a palette-entry specifier consisting of a COLORREF value that specifies the color associated with the given index. |
POINTSTOPOINT | Copies the contents of a POINTS structure into a POINT structure. |
RGB | Selects an RGB color based on the specified color values and the capabilities of the output device. |
See Also
Send Feedback on this topic to the authors