GDI Macros
A version of this page is also available for
4/8/2010
The following table shows the GDI macros.
Programming element | Description |
---|---|
Retrieves an intensity value for the blue component of a 32-bit RGB value. |
|
Retrieves an intensity value for the green component of a 32-bit RGB value. |
|
Retrieves an intensity value for the red component of a 32-bit RGB value. |
|
Calls the InflateRect function, passing in the negative value of the specified x- and y-coordinates. |
|
Creates a quaternary raster operation (ROP) code for use by the MaskBlt function. |
|
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. |
|
Copies the contents of a POINTS structure into a POINT structure. |
|
Selects an RGB color based on the specified color values and the capabilities of the output device. |