Export (0) Print
Expand All

GDI Macros

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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.

Community Additions

ADD
Show:
© 2014 Microsoft