GDI Macros
The following table shows the GDI macros with a description of the purpose of each.
Programming element | PPC | SP | Description |
---|---|---|---|
GetBValue | X | X | Retrieves an intensity value for the blue component of a 32-bit RGB value. |
GetGValue | X | X | Retrieves an intensity value for the green component of a 32-bit RGB value. |
GetRValue | X | X | Retrieves an intensity value for the red component of a 32-bit RGB value. |
InsetRect | X | X | Calls the InflateRect function, passing in the negative value of the specified x- and y-coordinates. |
MAKEROP4 | X | X | Creates a quaternary raster operation (ROP) code for use by the MaskBlt function. |
PALETTEINDEX2BPP | X | X | 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 | X | X | Copies the contents of a POINTS structure into a POINT structure. |
RGB | X | X | 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