Windows GDI
Overview of the Windows GDI technology.
To develop Windows GDI, you need these headers:
For programming guidance for this technology, see:
Functions
AbortPath The AbortPath function closes and discards any paths in the specified device context. |
AddFontMemResourceEx The AddFontMemResourceEx function adds the font resource from a memory image to the system. |
AddFontResourceA The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. (ANSI) |
AddFontResourceExA The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable. (ANSI) |
AddFontResourceExW The AddFontResourceEx function adds the font resource from the specified file to the system. Fonts added with the AddFontResourceEx function can be marked as private and not enumerable. (Unicode) |
AddFontResourceW The AddFontResource function adds the font resource from the specified file to the system font table. The font can subsequently be used for text output by any application. (Unicode) |
AlphaBlend The AlphaBlend function displays bitmaps that have transparent or semitransparent pixels. |
AngleArc The AngleArc function draws a line segment and an arc. |
AnimatePalette The AnimatePalette function replaces entries in the specified logical palette. |
Arc The Arc function draws an elliptical arc. |
ArcTo The ArcTo function draws an elliptical arc. |
BeginPaint The BeginPaint function prepares the specified window for painting and fills a PAINTSTRUCT structure with information about the painting. |
BeginPath The BeginPath function opens a path bracket in the specified device context. |
BitBlt The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. |
CancelDC The CancelDC function cancels any pending operation on the specified device context (DC). |
CFP_ALLOCPROC Client-provided callback function, used by CreateFontPackage and MergeFontPackage to allocate memory. |
CFP_FREEPROC Client-provided callback function, used by CreateFontPackage and MergeFontPackage to free memory. |
CFP_REALLOCPROC Client-provided callback function, used by CreateFontPackage and MergeFontPackage to reallocate memory when the size of an allocated buffer needs to change. |
ChangeDisplaySettingsA The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode. (ANSI) |
ChangeDisplaySettingsExA The ChangeDisplaySettingsEx function changes the settings of the specified display device to the specified graphics mode. (ANSI) |
ChangeDisplaySettingsExW The ChangeDisplaySettingsEx function changes the settings of the specified display device to the specified graphics mode. (Unicode) |
ChangeDisplaySettingsW The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode. (Unicode) |
Chord The Chord function draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush. |
ClientToScreen The ClientToScreen function converts the client-area coordinates of a specified point to screen coordinates. |
CloseEnhMetaFile The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile. |
CloseFigure The CloseFigure function closes an open figure in a path. |
CloseMetaFile The CloseMetaFile function closes a metafile device context and returns a handle that identifies a Windows-format metafile. |
CombineRgn The CombineRgn function combines two regions and stores the result in a third region. The two regions are combined according to the specified mode. |
CombineTransform The CombineTransform function concatenates two world-space to page-space transformations. |
CopyEnhMetaFileA The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file. (ANSI) |
CopyEnhMetaFileW The CopyEnhMetaFile function copies the contents of an enhanced-format metafile to a specified file. (Unicode) |
CopyMetaFileA The CopyMetaFile function copies the content of a Windows-format metafile to the specified file. (ANSI) |
CopyMetaFileW The CopyMetaFile function copies the content of a Windows-format metafile to the specified file. (Unicode) |
CopyRect The CopyRect function copies the coordinates of one rectangle to another. |
CreateBitmap The CreateBitmap function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel). |
CreateBitmapIndirect The CreateBitmapIndirect function creates a bitmap with the specified width, height, and color format (color planes and bits-per-pixel). |
CreateBrushIndirect The CreateBrushIndirect function creates a logical brush that has the specified style, color, and pattern. |
CreateCompatibleBitmap The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context. |
CreateCompatibleDC The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device. |
CreateDCA The CreateDC function creates a device context (DC) for a device using the specified name. (ANSI) |
CreateDCW The CreateDC function creates a device context (DC) for a device using the specified name. (Unicode) |
CreateDIBitmap The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits. |
CreateDIBPatternBrush The CreateDIBPatternBrush function creates a logical brush that has the pattern specified by the specified device-independent bitmap (DIB). |
CreateDIBPatternBrushPt The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB). |
CreateDIBSection The CreateDIBSection function creates a DIB that applications can write to directly. |
CreateDiscardableBitmap The CreateDiscardableBitmap function creates a discardable bitmap that is compatible with the specified device. |
CreateEllipticRgn The CreateEllipticRgn function creates an elliptical region. |
CreateEllipticRgnIndirect The CreateEllipticRgnIndirect function creates an elliptical region. |
CreateEnhMetaFileA The CreateEnhMetaFile function creates a device context for an enhanced-format metafile. This device context can be used to store a device-independent picture. (ANSI) |
CreateEnhMetaFileW The CreateEnhMetaFile function creates a device context for an enhanced-format metafile. This device context can be used to store a device-independent picture. (Unicode) |
CreateFontA The CreateFont function creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device. (ANSI) |
CreateFontIndirectA The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. (ANSI) |
CreateFontIndirectExA The CreateFontIndirectEx function specifies a logical font that has the characteristics in the specified structure. The font can subsequently be selected as the current font for any device context. (ANSI) |
CreateFontIndirectExW The CreateFontIndirectEx function specifies a logical font that has the characteristics in the specified structure. The font can subsequently be selected as the current font for any device context. (Unicode) |
CreateFontIndirectW The CreateFontIndirect function creates a logical font that has the specified characteristics. The font can subsequently be selected as the current font for any device context. (Unicode) |
CreateFontPackage The CreateFontPackage function creates a subset version of a specified TrueType font, typically in order to pass it to a printer. |
CreateFontW The CreateFont function creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device. (Unicode) |
CreateHalftonePalette The CreateHalftonePalette function creates a halftone palette for the specified device context (DC). |
CreateHatchBrush The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color. |
CreateICA The CreateIC function creates an information context for the specified device. (ANSI) |
CreateICW The CreateIC function creates an information context for the specified device. (Unicode) |
CreateMetaFileA The CreateMetaFile function creates a device context for a Windows-format metafile. (ANSI) |
CreateMetaFileW The CreateMetaFile function creates a device context for a Windows-format metafile. (Unicode) |
CreatePalette The CreatePalette function creates a logical palette. |
CreatePatternBrush The CreatePatternBrush function creates a logical brush with the specified bitmap pattern. The bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function, or it can be a device-dependent bitmap. |
CreatePen The CreatePen function creates a logical pen that has the specified style, width, and color. The pen can subsequently be selected into a device context and used to draw lines and curves. |
CreatePenIndirect The CreatePenIndirect function creates a logical cosmetic pen that has the style, width, and color specified in a structure. |
CreatePolygonRgn The CreatePolygonRgn function creates a polygonal region. |
CreatePolyPolygonRgn The CreatePolyPolygonRgn function creates a region consisting of a series of polygons. The polygons can overlap. |
CreateRectRgn The CreateRectRgn function creates a rectangular region. |
CreateRectRgnIndirect The CreateRectRgnIndirect function creates a rectangular region. |
CreateRoundRectRgn The CreateRoundRectRgn function creates a rectangular region with rounded corners. |
CreateScalableFontResourceA The CreateScalableFontResource function creates a font resource file for a scalable font. (ANSI) |
CreateScalableFontResourceW The CreateScalableFontResource function creates a font resource file for a scalable font. (Unicode) |
CreateSolidBrush The CreateSolidBrush function creates a logical brush that has the specified solid color. |
DeleteDC The DeleteDC function deletes the specified device context (DC). |
DeleteEnhMetaFile The DeleteEnhMetaFile function deletes an enhanced-format metafile or an enhanced-format metafile handle. |
DeleteFont The DeleteFont macro deletes a font object, freeing all system resources associated with the font object. |
DeleteMetaFile The DeleteMetaFile function deletes a Windows-format metafile or Windows-format metafile handle. |
DeleteObject The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid. |
DIBINDEX The DIBINDEX macro takes an index to an entry in a DIB color table and returns a COLORREF value that specifies the color associated with the given index. |
DPtoLP The DPtoLP function converts device coordinates into logical coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation. |
DrawAnimatedRects Animates the caption of a window to indicate the opening of an icon or the minimizing or maximizing of a window. |
DrawCaption The DrawCaption function draws a window caption. |
DrawEdge The DrawEdge function draws one or more edges of rectangle. |
DrawEscape The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI). |
DrawFocusRect The DrawFocusRect function draws a rectangle in the style used to indicate that the rectangle has the focus. |
DrawFrameControl The DrawFrameControl function draws a frame control of the specified type and style. |
DrawStateA The DrawState function displays an image and applies a visual effect to indicate a state, such as a disabled or default state. (ANSI) |
DRAWSTATEPROC The DrawStateProc function is an application-defined callback function that renders a complex image for the DrawState function. |
DrawStateW The DrawState function displays an image and applies a visual effect to indicate a state, such as a disabled or default state. (Unicode) |
DrawText The DrawText function draws formatted text in the specified rectangle. (DrawText function) |
DrawTextA The DrawText function draws formatted text in the specified rectangle. It formats the text according to the specified method (expanding tabs, justifying characters, breaking lines, and so forth). (DrawTextA) |
DrawTextExA The DrawTextEx function draws formatted text in the specified rectangle. (ANSI) |
DrawTextExW The DrawTextEx function draws formatted text in the specified rectangle. (Unicode) |
DrawTextW The DrawTextW (Unicode) function draws formatted text in the specified rectangle. (DrawTextW function) |
Ellipse The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush. |
EndPaint The EndPaint function marks the end of painting in the specified window. This function is required for each call to the BeginPaint function, but only after painting is complete. |
EndPath The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context. |
ENHMFENUMPROC The EnhMetaFileProc function is an application-defined callback function used with the EnumEnhMetaFile function. |
EnumDisplayDevicesA The EnumDisplayDevices function lets you obtain information about the display devices in the current session. (ANSI) |
EnumDisplayDevicesW The EnumDisplayDevices function lets you obtain information about the display devices in the current session. (Unicode) |
EnumDisplayMonitors The EnumDisplayMonitors function enumerates display monitors (including invisible pseudo-monitors associated with the mirroring drivers) that intersect a region formed by the intersection of a specified clipping rectangle and the visible region of a device context. EnumDisplayMonitors calls an application-defined MonitorEnumProc callback function once for each monitor that is enumerated. Note that GetSystemMetrics (SM_CMONITORS) counts only the display monitors. |
EnumDisplaySettingsA The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function. (ANSI) |
EnumDisplaySettingsExA The EnumDisplaySettingsEx function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function. (ANSI) |
EnumDisplaySettingsExW The EnumDisplaySettingsEx function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function. (Unicode) |
EnumDisplaySettingsW The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function. (Unicode) |
EnumEnhMetaFile The EnumEnhMetaFile function enumerates the records within an enhanced-format metafile by retrieving each record and passing it to the specified callback function. |
EnumFontFamiliesA The EnumFontFamilies function enumerates the fonts in a specified font family that are available on a specified device. (ANSI) |
EnumFontFamiliesExA The EnumFontFamiliesEx function enumerates all uniquely-named fonts in the system that match the font characteristics specified by the LOGFONT structure. EnumFontFamiliesEx enumerates fonts based on typeface name, character set, or both. (ANSI) |
EnumFontFamiliesExW The EnumFontFamiliesEx function enumerates all uniquely-named fonts in the system that match the font characteristics specified by the LOGFONT structure. EnumFontFamiliesEx enumerates fonts based on typeface name, character set, or both. (Unicode) |
EnumFontFamiliesW The EnumFontFamilies function enumerates the fonts in a specified font family that are available on a specified device. (Unicode) |
EnumFontsA The EnumFonts function enumerates the fonts available on a specified device. (ANSI) |
EnumFontsW The EnumFonts function enumerates the fonts available on a specified device. (Unicode) |
EnumMetaFile The EnumMetaFile function enumerates the records within a Windows-format metafile by retrieving each record and passing it to the specified callback function. |
EnumObjects The EnumObjects function enumerates the pens or brushes available for the specified device context (DC). |
EqualRect The EqualRect function determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners. |
EqualRgn The EqualRgn function checks the two specified regions to determine whether they are identical. The function considers two regions identical if they are equal in size and shape. |
ExcludeClipRect The ExcludeClipRect function creates a new clipping region that consists of the existing clipping region minus the specified rectangle. |
ExcludeUpdateRgn The ExcludeUpdateRgn function prevents drawing within invalid areas of a window by excluding an updated region in the window from a clipping region. |
ExtCreatePen The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes. |
ExtCreateRegion The ExtCreateRegion function creates a region from the specified region and transformation data. |
ExtFloodFill The ExtFloodFill function fills an area of the display surface with the current brush. |
ExtSelectClipRgn The ExtSelectClipRgn function combines the specified region with the current clipping region using the specified mode. |
ExtTextOutA The ExtTextOut function draws text using the currently selected font, background color, and text color. You can optionally provide dimensions to be used for clipping, opaquing, or both. (ANSI) |
ExtTextOutW The ExtTextOut function draws text using the currently selected font, background color, and text color. You can optionally provide dimensions to be used for clipping, opaquing, or both. (Unicode) |
FillPath The FillPath function closes any open figures in the current path and fills the path's interior by using the current brush and polygon-filling mode. |
FillRect The FillRect function fills a rectangle by using the specified brush. This function includes the left and top borders, but excludes the right and bottom borders of the rectangle. |
FillRgn The FillRgn function fills a region by using the specified brush. |
FlattenPath The FlattenPath function transforms any curves in the path that is selected into the current device context (DC), turning each curve into a sequence of lines. |
FloodFill The FloodFill function fills an area of the display surface with the current brush. The area is assumed to be bounded as specified by the color parameter. |
FrameRect The FrameRect function draws a border around the specified rectangle by using the specified brush. The width and height of the border are always one logical unit. |
FrameRgn The FrameRgn function draws a border around the specified region by using the specified brush. |
GdiAlphaBlend The GdiAlphaBlend function displays bitmaps that have transparent or semitransparent pixels. |
GdiComment The GdiComment function copies a comment from a buffer into a specified enhanced-format metafile. |
GdiFlush The GdiFlush function flushes the calling thread's current batch. |
GdiGetBatchLimit The GdiGetBatchLimit function returns the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded. |
GdiGradientFill The GdiGradientFill function fills rectangle and triangle structures. |
GdiSetBatchLimit The GdiSetBatchLimit function sets the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded. |
GdiTransparentBlt The GdiTransparentBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. |
GetArcDirection The GetArcDirection function retrieves the current arc direction for the specified device context. Arc and rectangle functions use the arc direction. |
GetAspectRatioFilterEx The GetAspectRatioFilterEx function retrieves the setting for the current aspect-ratio filter. |
GetBitmapBits The GetBitmapBits function copies the bitmap bits of a specified device-dependent bitmap into a buffer. |
GetBitmapDimensionEx The GetBitmapDimensionEx function retrieves the dimensions of a compatible bitmap. The retrieved dimensions must have been set by the SetBitmapDimensionEx function. |
GetBkColor The GetBkColor function returns the current background color for the specified device context. |
GetBkMode The GetBkMode function returns the current background mix mode for a specified device context. The background mix mode of a device context affects text, hatched brushes, and pen styles that are not solid lines. |
GetBoundsRect The GetBoundsRect function obtains the current accumulated bounding rectangle for a specified device context. |
GetBrushOrgEx The GetBrushOrgEx function retrieves the current brush origin for the specified device context. This function replaces the GetBrushOrg function. |
GetBValue The GetBValue macro retrieves an intensity value for the blue component of a red, green, blue (RGB) value. |
GetCharABCWidthsA The GetCharABCWidths function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. (ANSI) |
GetCharABCWidthsFloatA The GetCharABCWidthsFloat function retrieves the widths, in logical units, of consecutive characters in a specified range from the current font. (ANSI) |
GetCharABCWidthsFloatW The GetCharABCWidthsFloat function retrieves the widths, in logical units, of consecutive characters in a specified range from the current font. (Unicode) |
GetCharABCWidthsI The GetCharABCWidthsI function retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. |
GetCharABCWidthsW The GetCharABCWidths function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. (Unicode) |
GetCharacterPlacementA The GetCharacterPlacement function retrieves information about a character string, such as character widths, caret positioning, ordering within the string, and glyph rendering. (ANSI) |
GetCharacterPlacementW The GetCharacterPlacement function retrieves information about a character string, such as character widths, caret positioning, ordering within the string, and glyph rendering. (Unicode) |
GetCharWidth32A The GetCharWidth32 function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (ANSI) |
GetCharWidth32W The GetCharWidth32 function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (Unicode) |
GetCharWidthA The GetCharWidth function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (ANSI) |
GetCharWidthFloatA The GetCharWidthFloat function retrieves the fractional widths of consecutive characters in a specified range from the current font. (ANSI) |
GetCharWidthFloatW The GetCharWidthFloat function retrieves the fractional widths of consecutive characters in a specified range from the current font. (Unicode) |
GetCharWidthI The GetCharWidthI function retrieves the widths, in logical coordinates, of consecutive glyph indices in a specified range from the current font. |
GetCharWidthW The GetCharWidth function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. (Unicode) |
GetClipBox The GetClipBox function retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. |
GetClipRgn The GetClipRgn function retrieves a handle identifying the current application-defined clipping region for the specified device context. |
GetColorAdjustment The GetColorAdjustment function retrieves the color adjustment values for the specified device context (DC). |
GetCurrentObject The GetCurrentObject function retrieves a handle to an object of the specified type that has been selected into the specified device context (DC). |
GetCurrentPositionEx The GetCurrentPositionEx function retrieves the current position in logical coordinates. |
GetDC The GetDC function retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. |
GetDCBrushColor The GetDCBrushColor function retrieves the current brush color for the specified device context (DC). |
GetDCEx The GetDCEx function retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. |
GetDCOrgEx The GetDCOrgEx function retrieves the final translation origin for a specified device context (DC). |
GetDCPenColor The GetDCPenColor function retrieves the current pen color for the specified device context (DC). |
GetDeviceCaps The GetDeviceCaps function retrieves device-specific information for the specified device. |
GetDIBColorTable The GetDIBColorTable function retrieves RGB (red, green, blue) color values from a range of entries in the color table of the DIB section bitmap that is currently selected into a specified device context. |
GetDIBits The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format. |
GetEnhMetaFileA The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file. (ANSI) |
GetEnhMetaFileBits The GetEnhMetaFileBits function retrieves the contents of the specified enhanced-format metafile and copies them into a buffer. |
GetEnhMetaFileDescriptionA The GetEnhMetaFileDescription function retrieves an optional text description from an enhanced-format metafile and copies the string to the specified buffer. (ANSI) |
GetEnhMetaFileDescriptionW The GetEnhMetaFileDescription function retrieves an optional text description from an enhanced-format metafile and copies the string to the specified buffer. (Unicode) |
GetEnhMetaFileHeader The GetEnhMetaFileHeader function retrieves the record containing the header for the specified enhanced-format metafile. |
GetEnhMetaFilePaletteEntries The GetEnhMetaFilePaletteEntries function retrieves optional palette entries from the specified enhanced metafile. |
GetEnhMetaFileW The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file. (Unicode) |
GetFontData The GetFontData function retrieves font metric data for a TrueType font. |
GetFontLanguageInfo The GetFontLanguageInfo function returns information about the currently selected font for the specified display context. Applications typically use this information and the GetCharacterPlacement function to prepare a character string for display. |
GetFontUnicodeRanges The GetFontUnicodeRanges function returns information about which Unicode characters are supported by a font. The information is returned as a GLYPHSET structure. |
GetGlyphIndicesA The GetGlyphIndices function translates a string into an array of glyph indices. The function can be used to determine whether a glyph exists in a font. (ANSI) |
GetGlyphIndicesW The GetGlyphIndices function translates a string into an array of glyph indices. The function can be used to determine whether a glyph exists in a font. (Unicode) |
GetGlyphOutlineA The GetGlyphOutline function retrieves the outline or bitmap for a character in the TrueType font that is selected into the specified device context. (ANSI) |
GetGlyphOutlineW The GetGlyphOutline function retrieves the outline or bitmap for a character in the TrueType font that is selected into the specified device context. (Unicode) |
GetGraphicsMode The GetGraphicsMode function retrieves the current graphics mode for the specified device context. |
GetGValue The GetGValue macro retrieves an intensity value for the green component of a red, green, blue (RGB) value. |
GetKerningPairsA The GetKerningPairs function retrieves the character-kerning pairs for the currently selected font for the specified device context. (ANSI) |
GetKerningPairsW The GetKerningPairs function retrieves the character-kerning pairs for the currently selected font for the specified device context. (Unicode) |
GetLayout The GetLayout function returns the layout of a device context (DC). |
GetMapMode The GetMapMode function retrieves the current mapping mode. |
GetMetaFileA The GetMetaFile function creates a handle that identifies the metafile stored in the specified file. (ANSI) |
GetMetaFileBitsEx The GetMetaFileBitsEx function retrieves the contents of a Windows-format metafile and copies them into the specified buffer. |
GetMetaFileW The GetMetaFile function creates a handle that identifies the metafile stored in the specified file. (Unicode) |
GetMetaRgn The GetMetaRgn function retrieves the current metaregion for the specified device context. |
GetMiterLimit The GetMiterLimit function retrieves the miter limit for the specified device context. |
GetMonitorInfoA The GetMonitorInfo function retrieves information about a display monitor. (ANSI) |
GetMonitorInfoW The GetMonitorInfo function retrieves information about a display monitor. (Unicode) |
GetNearestColor The GetNearestColor function retrieves a color value identifying a color from the system palette that will be displayed when the specified color value is used. |
GetNearestPaletteIndex The GetNearestPaletteIndex function retrieves the index for the entry in the specified logical palette most closely matching a specified color value. |
GetObject The GetObject function (wingdi.h) retrieves information for the specified graphics object. |
GetObjectA The GetObject function retrieves information for the specified graphics object. (GetObjectA) |
GetObjectType The GetObjectType retrieves the type of the specified object. |
GetObjectW The GetObjectW (Unicode) function (wingdi.h) retrieves information for the specified graphics object. |
GetOutlineTextMetricsA The GetOutlineTextMetrics function retrieves text metrics for TrueType fonts. (ANSI) |
GetOutlineTextMetricsW The GetOutlineTextMetrics function retrieves text metrics for TrueType fonts. (Unicode) |
GetPaletteEntries The GetPaletteEntries function retrieves a specified range of palette entries from the given logical palette. |
GetPath The GetPath function retrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context. |
GetPixel The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates. |
GetPolyFillMode The GetPolyFillMode function retrieves the current polygon fill mode. |
GetRandomRgn The GetRandomRgn function copies the system clipping region of a specified device context to a specific region. |
GetRasterizerCaps The GetRasterizerCaps function returns flags indicating whether TrueType fonts are installed in the system. |
GetRegionData The GetRegionData function fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region. |
GetRgnBox The GetRgnBox function retrieves the bounding rectangle of the specified region. |
GetROP2 The GetROP2 function retrieves the foreground mix mode of the specified device context. The mix mode specifies how the pen or interior color and the color already on the screen are combined to yield a new color. |
GetRValue The GetRValue macro retrieves an intensity value for the red component of a red, green, blue (RGB) value. |
GetStockObject The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes. |
GetStretchBltMode The GetStretchBltMode function retrieves the current stretching mode. The stretching mode defines how color data is added to or removed from bitmaps that are stretched or compressed when the StretchBlt function is called. |
GetSysColorBrush The GetSysColorBrush function retrieves a handle identifying a logical brush that corresponds to the specified color index. |
GetSystemPaletteEntries The GetSystemPaletteEntries function retrieves a range of palette entries from the system palette that is associated with the specified device context (DC). |
GetSystemPaletteUse The GetSystemPaletteUse function retrieves the current state of the system (physical) palette for the specified device context (DC). |
GetTabbedTextExtentA The GetTabbedTextExtent function computes the width and height of a character string. (ANSI) |
GetTabbedTextExtentW The GetTabbedTextExtent function computes the width and height of a character string. (Unicode) |
GetTextAlign The GetTextAlign function retrieves the text-alignment setting for the specified device context. |
GetTextCharacterExtra The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context. |
GetTextColor The GetTextColor function retrieves the current text color for the specified device context. |
GetTextExtentExPointA The GetTextExtentExPoint function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. (ANSI) |
GetTextExtentExPointI The GetTextExtentExPointI function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. |
GetTextExtentExPointW The GetTextExtentExPoint function retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters. (Unicode) |
GetTextExtentPoint32A The GetTextExtentPoint32 function computes the width and height of the specified string of text. (ANSI) |
GetTextExtentPoint32W The GetTextExtentPoint32 function computes the width and height of the specified string of text. (Unicode) |
GetTextExtentPointA The GetTextExtentPoint function computes the width and height of the specified string of text. (ANSI) |
GetTextExtentPointI The GetTextExtentPointI function computes the width and height of the specified array of glyph indices. |
GetTextExtentPointW The GetTextExtentPoint function computes the width and height of the specified string of text. (Unicode) |
GetTextFaceA The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context. (ANSI) |
GetTextFaceW The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context. (Unicode) |
GetTextMetrics The GetTextMetrics function (wingdi.h) fills the specified buffer with the metrics for the currently selected font. |
GetTextMetricsA The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font. (GetTextMetricsA) |
GetTextMetricsW The GetTextMetricsW (Unicode) function (wingdi.h) fills the specified buffer with the metrics for the currently selected font. |
GetUpdateRect The GetUpdateRect function retrieves the coordinates of the smallest rectangle that completely encloses the update region of the specified window. |
GetUpdateRgn The GetUpdateRgn function retrieves the update region of a window by copying it into the specified region. The coordinates of the update region are relative to the upper-left corner of the window (that is, they are client coordinates). |
GetViewportExtEx The GetViewportExtEx function retrieves the x-extent and y-extent of the current viewport for the specified device context. |
GetViewportOrgEx The GetViewportOrgEx function retrieves the x-coordinates and y-coordinates of the viewport origin for the specified device context. |
GetWindowDC The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars. |
GetWindowExtEx This function retrieves the x-extent and y-extent of the window for the specified device context. |
GetWindowOrgEx The GetWindowOrgEx function retrieves the x-coordinates and y-coordinates of the window origin for the specified device context. |
GetWindowRgn The GetWindowRgn function obtains a copy of the window region of a window. |
GetWindowRgnBox The GetWindowRgnBox function retrieves the dimensions of the tightest bounding rectangle for the window region of a window. |
GetWinMetaFileBits The GetWinMetaFileBits function converts the enhanced-format records from a metafile into Windows-format records and stores the converted records in the specified buffer. |
GetWorldTransform The GetWorldTransform function retrieves the current world-space to page-space transformation. |
GOBJENUMPROC The EnumObjectsProc function is an application-defined callback function used with the EnumObjects function. |
GradientFill The GradientFill function fills rectangle and triangle structures. |
GrayStringA The GrayString function draws gray text at the specified location. (ANSI) |
GRAYSTRINGPROC The OutputProc function is an application-defined callback function used with the GrayString function. |
GrayStringW The GrayString function draws gray text at the specified location. (Unicode) |
InflateRect The InflateRect function increases or decreases the width and height of the specified rectangle. |
IntersectClipRect The IntersectClipRect function creates a new clipping region from the intersection of the current clipping region and the specified rectangle. |
IntersectRect The IntersectRect function calculates the intersection of two source rectangles and places the coordinates of the intersection rectangle into the destination rectangle. |
InvalidateRect The InvalidateRect function adds a rectangle to the specified window's update region. The update region represents the portion of the window's client area that must be redrawn. |
InvalidateRgn The InvalidateRgn function invalidates the client area within the specified region by adding it to the current update region of a window. |
InvertRect The InvertRect function inverts a rectangle in a window by performing a logical NOT operation on the color values for each pixel in the rectangle's interior. |
InvertRgn The InvertRgn function inverts the colors in the specified region. |
IsRectEmpty The IsRectEmpty function determines whether the specified rectangle is empty. |
LineDDA The LineDDA function determines which pixels should be highlighted for a line defined by the specified starting and ending points. |
LINEDDAPROC The LineDDAProc function is an application-defined callback function used with the LineDDA function. |
LineTo The LineTo function draws a line from the current position up to, but not including, the specified point. |
LoadBitmapA The LoadBitmap function loads the specified bitmap resource from a module's executable file. (ANSI) |
LoadBitmapW The LoadBitmap function loads the specified bitmap resource from a module's executable file. (Unicode) |
LockWindowUpdate The LockWindowUpdate function disables or enables drawing in the specified window. Only one window can be locked at a time. |
LPtoDP The LPtoDP function converts logical coordinates into device coordinates. The conversion depends on the mapping mode of the device context, the settings of the origins and extents for the window and viewport, and the world transformation. |
MAKEPOINTS The MAKEPOINTS macro converts a value that contains the x- and y-coordinates of a point into a POINTS structure. |
MAKEROP4 The MAKEROP4 macro creates a quaternary raster operation code for use with the MaskBlt function. |
MapWindowPoints The MapWindowPoints function converts (maps) a set of points from a coordinate space relative to one window to a coordinate space relative to another window. |
MaskBlt The MaskBlt function combines the color data for the source and destination bitmaps using the specified mask and raster operation. |
MergeFontPackage The MergeFontPackage function manipulates fonts created by CreateFontPackage. |
MFENUMPROC The EnumMetaFileProc function is an application-defined callback function that processes Windows-format metafile records. |
ModifyWorldTransform The ModifyWorldTransform function changes the world transformation for a device context using the specified mode. |
MONITORENUMPROC A MonitorEnumProc function is an application-defined callback function that is called by the EnumDisplayMonitors function. |
MonitorFromPoint The MonitorFromPoint function retrieves a handle to the display monitor that contains a specified point. |
MonitorFromRect The MonitorFromRect function retrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle. |
MonitorFromWindow The MonitorFromWindow function retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window. |
MoveToEx The MoveToEx function updates the current position to the specified point and optionally returns the previous position. |
OffsetClipRgn The OffsetClipRgn function moves the clipping region of a device context by the specified offsets. |
OffsetRect The OffsetRect function moves the specified rectangle by the specified offsets. |
OffsetRgn The OffsetRgn function moves a region by the specified offsets. |
OffsetViewportOrgEx The OffsetViewportOrgEx function modifies the viewport origin for a device context using the specified horizontal and vertical offsets. |
OffsetWindowOrgEx The OffsetWindowOrgEx function modifies the window origin for a device context using the specified horizontal and vertical offsets. |
PaintDesktop The PaintDesktop function fills the clipping region in the specified device context with the desktop pattern or wallpaper. The function is provided primarily for shell desktops. |
PaintRgn The PaintRgn function paints the specified region by using the brush currently selected into the device context. |
PALETTEINDEX The PALETTEINDEX macro 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. |
PALETTERGB The PALETTERGB macro accepts three values that represent the relative intensities of red, green, and blue and returns a palette-relative red, green, blue (RGB) specifier consisting of 2 in the high-order byte and an RGB value in the three low-order bytes. An application using a color palette can pass this specifier, instead of an explicit RGB value, to functions that expect a color. |
PatBlt The PatBlt function paints the specified rectangle using the brush that is currently selected into the specified device context. The brush color and the surface color or colors are combined by using the specified raster operation. |
PathToRegion The PathToRegion function creates a region from the path that is selected into the specified device context. The resulting region uses device coordinates. |
Pie The Pie function draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush. |
PlayEnhMetaFile The PlayEnhMetaFile function displays the picture stored in the specified enhanced-format metafile. |
PlayEnhMetaFileRecord The PlayEnhMetaFileRecord function plays an enhanced-metafile record by executing the graphics device interface (GDI) functions identified by the record. |
PlayMetaFile The PlayMetaFile function displays the picture stored in the given Windows-format metafile on the specified device. |
PlayMetaFileRecord The PlayMetaFileRecord function plays a Windows-format metafile record by executing the graphics device interface (GDI) function contained within that record. |
PlgBlt The PlgBlt function performs a bit-block transfer of the bits of color data from the specified rectangle in the source device context to the specified parallelogram in the destination device context. |
POINTSTOPOINT The POINTSTOPOINT macro copies the contents of a POINTS structure into a POINT structure. |
POINTTOPOINTS The POINTTOPOINTS macro converts a POINT structure to a POINTS structure. |
PolyBezier The PolyBezier function draws one or more Bézier curves. |
PolyBezierTo The PolyBezierTo function draws one or more Bézier curves. |
PolyDraw The PolyDraw function draws a set of line segments and Bézier curves. |
Polygon The Polygon function draws a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. |
Polyline The Polyline function draws a series of line segments by connecting the points in the specified array. |
PolylineTo The PolylineTo function draws one or more straight lines. |
PolyPolygon The PolyPolygon function draws a series of closed polygons. Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode. The polygons drawn by this function can overlap. |
PolyPolyline The PolyPolyline function draws multiple series of connected line segments. |
PolyTextOutA The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context. (ANSI) |
PolyTextOutW The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context. (Unicode) |
PtInRect The PtInRect function determines whether the specified point lies within the specified rectangle. |
PtInRegion The PtInRegion function determines whether the specified point is inside the specified region. |
PtVisible The PtVisible function determines whether the specified point is within the clipping region of a device context. |
RealizePalette The RealizePalette function maps palette entries from the current logical palette to the system palette. |
Rectangle The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush. |
RectInRegion The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region. |
RectVisible The RectVisible function determines whether any part of the specified rectangle lies within the clipping region of a device context. |
RedrawWindow The RedrawWindow function updates the specified rectangle or region in a window's client area. |
ReleaseDC The ReleaseDC function releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs. |
RemoveFontMemResourceEx The RemoveFontMemResourceEx function removes the fonts added from a memory image file. |
RemoveFontResourceA The RemoveFontResource function removes the fonts in the specified file from the system font table. (ANSI) |
RemoveFontResourceExA The RemoveFontResourceEx function removes the fonts in the specified file from the system font table. (ANSI) |
RemoveFontResourceExW The RemoveFontResourceEx function removes the fonts in the specified file from the system font table. (Unicode) |
RemoveFontResourceW The RemoveFontResource function removes the fonts in the specified file from the system font table. (Unicode) |
ResetDCA The ResetDC function updates the specified printer or plotter device context (DC) using the specified information. (ANSI) |
ResetDCW The ResetDC function updates the specified printer or plotter device context (DC) using the specified information. (Unicode) |
ResizePalette The ResizePalette function increases or decreases the size of a logical palette based on the specified value. |
RestoreDC The RestoreDC function restores a device context (DC) to the specified state. The DC is restored by popping state information off a stack created by earlier calls to the SaveDC function. |
RGB The RGB macro selects a red, green, blue (RGB) color based on the arguments supplied and the color capabilities of the output device. |
RoundRect The RoundRect function draws a rectangle with rounded corners. The rectangle is outlined by using the current pen and filled by using the current brush. |
SaveDC The SaveDC function saves the current state of the specified device context (DC) by copying data describing selected objects and graphic modes (such as the bitmap, brush, palette, font, pen, region, drawing mode, and mapping mode) to a context stack. |
ScaleViewportExtEx The ScaleViewportExtEx function modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors. |
ScaleWindowExtEx The ScaleWindowExtEx function modifies the window for a device context using the ratios formed by the specified multiplicands and divisors. |
ScreenToClient The ScreenToClient function converts the screen coordinates of a specified point on the screen to client-area coordinates. |
SelectClipPath The SelectClipPath function selects the current path as a clipping region for a device context, combining the new region with any existing clipping region using the specified mode. |
SelectClipRgn The SelectClipRgn function selects a region as the current clipping region for the specified device context. |
SelectFont The SelectFont macro selects a font object into the specified device context (DC). The new font object replaces the previous font object. |
SelectObject The SelectObject function selects an object into the specified device context (DC). The new object replaces the previous object of the same type. |
SelectPalette The SelectPalette function selects the specified logical palette into a device context. |
SetArcDirection The SetArcDirection sets the drawing direction to be used for arc and rectangle functions. |
SetBitmapBits The SetBitmapBits function sets the bits of color data for a bitmap to the specified values. |
SetBitmapDimensionEx The SetBitmapDimensionEx function assigns preferred dimensions to a bitmap. These dimensions can be used by applications; however, they are not used by the system. |
SetBkColor The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value. |
SetBkMode The SetBkMode function sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines. |
SetBoundsRect The SetBoundsRect function controls the accumulation of bounding rectangle information for the specified device context. |
SetBrushOrgEx The SetBrushOrgEx function sets the brush origin that GDI assigns to the next brush an application selects into the specified device context. |
SetColorAdjustment The SetColorAdjustment function sets the color adjustment values for a device context (DC) using the specified values. |
SetDCBrushColor SetDCBrushColor function sets the current device context (DC) brush color to the specified color value. If the device cannot represent the specified color value, the color is set to the nearest physical color. |
SetDCPenColor SetDCPenColor function sets the current device context (DC) pen color to the specified color value. If the device cannot represent the specified color value, the color is set to the nearest physical color. |
SetDIBColorTable The SetDIBColorTable function sets RGB (red, green, blue) color values in a range of entries in the color table of the DIB that is currently selected into a specified device context. |
SetDIBits The SetDIBits function sets the pixels in a compatible bitmap (DDB) using the color data found in the specified DIB. |
SetDIBitsToDevice The SetDIBitsToDevice function sets the pixels in the specified rectangle on the device that is associated with the destination device context using color data from a DIB, JPEG, or PNG image. |
SetEnhMetaFileBits The SetEnhMetaFileBits function creates a memory-based enhanced-format metafile from the specified data. |
SetGraphicsMode The SetGraphicsMode function sets the graphics mode for the specified device context. |
SetLayout The SetLayout function changes the layout of a device context (DC). |
SetMapMode The SetMapMode function sets the mapping mode of the specified device context. The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes. |
SetMapperFlags The SetMapperFlags function alters the algorithm the font mapper uses when it maps logical fonts to physical fonts. |
SetMetaFileBitsEx The SetMetaFileBitsEx function creates a memory-based Windows-format metafile from the supplied data. |
SetMetaRgn The SetMetaRgn function intersects the current clipping region for the specified device context with the current metaregion and saves the combined region as the new metaregion for the specified device context. |
SetMiterLimit The SetMiterLimit function sets the limit for the length of miter joins for the specified device context. |
SetPaletteEntries The SetPaletteEntries function sets RGB (red, green, blue) color values and flags in a range of entries in a logical palette. |
SetPixel The SetPixel function sets the pixel at the specified coordinates to the specified color. |
SetPixelV The SetPixelV function sets the pixel at the specified coordinates to the closest approximation of the specified color. The point must be in the clipping region and the visible part of the device surface. |
SetPolyFillMode The SetPolyFillMode function sets the polygon fill mode for functions that fill polygons. |
SetRect The SetRect function sets the coordinates of the specified rectangle. This is equivalent to assigning the left, top, right, and bottom arguments to the appropriate members of the RECT structure. |
SetRectEmpty The SetRectEmpty function creates an empty rectangle in which all coordinates are set to zero. |
SetRectRgn The SetRectRgn function converts a region into a rectangular region with the specified coordinates. |
SetROP2 The SetROP2 function sets the current foreground mix mode. |
SetStretchBltMode The SetStretchBltMode function sets the bitmap stretching mode in the specified device context. |
SetSystemPaletteUse The SetSystemPaletteUse function allows an application to specify whether the system palette contains 2 or 20 static colors. |
SetTextAlign The SetTextAlign function sets the text-alignment flags for the specified device context. |
SetTextCharacterExtra The SetTextCharacterExtra function sets the intercharacter spacing. Intercharacter spacing is added to each character, including break characters, when the system writes a line of text. |
SetTextColor The SetTextColor function sets the text color for the specified device context to the specified color. |
SetTextJustification The SetTextJustification function specifies the amount of space the system should add to the break characters in a string of text. The space is added when an application calls the TextOut or ExtTextOut functions. |
SetViewportExtEx Sets the horizontal and vertical extents of the viewport for a device context by using the specified values. |
SetViewportOrgEx The SetViewportOrgEx function specifies which device point maps to the window origin (0,0). |
SetWindowExtEx The SetWindowExtEx function sets the horizontal and vertical extents of the window for a device context by using the specified values. |
SetWindowOrgEx The SetWindowOrgEx function specifies which window point maps to the viewport origin (0,0). |
SetWindowRgn The SetWindowRgn function sets the window region of a window. |
SetWinMetaFileBits The SetWinMetaFileBits function converts a metafile from the older Windows format to the new enhanced format and stores the new metafile in memory. |
SetWorldTransform The SetWorldTransform function sets a two-dimensional linear transformation between world space and page space for the specified device context. This transformation can be used to scale, rotate, shear, or translate graphics output. |
StretchBlt The StretchBlt function copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary. |
StretchDIBits The StretchDIBits function copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle. |
StrokeAndFillPath The StrokeAndFillPath function closes any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush. |
StrokePath The StrokePath function renders the specified path by using the current pen. |
SubtractRect The SubtractRect function determines the coordinates of a rectangle formed by subtracting one rectangle from another. |
TabbedTextOutA The TabbedTextOut function writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color. (ANSI) |
TabbedTextOutW The TabbedTextOut function writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color. (Unicode) |
TextOutA The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color. (ANSI) |
TextOutW The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color. (Unicode) |
TransparentBlt The TransparentBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context. |
TTCharToUnicode Converts an array of 8-bit character code values to 16-bit Unicode values. |
TTDeleteEmbeddedFont Releases memory used by an embedded font, hFontReference. |
TTEmbedFont Creates a font structure containing the subsetted wide-character (16-bit) font. The current font of the device context (hDC) provides the font information. |
TTEmbedFontEx Creates a font structure containing the subsetted UCS-4 character (32-bit) font. The current font of the device context (hDC) provides the font information. |
TTEmbedFontFromFileA Creates a font structure containing the subsetted wide-character (16-bit) font. An external file provides the font information. |
TTEnableEmbeddingForFacename Adds or removes facenames from the typeface exclusion list. |
TTGetEmbeddedFontInfo Retrieves information about an embedded font, such as embedding permissions. TTGetEmbeddedFontInfo performs the same task as TTLoadEmbeddedFont but does not allocate internal data structures for the embedded font. |
TTGetEmbeddingType Obtains the embedding privileges of a font. |
TTGetNewFontName Obtains the family name for the font loaded through TTLoadEmbeddedFont. |
TTIsEmbeddingEnabled Determines whether the typeface exclusion list contains a specified font. |
TTIsEmbeddingEnabledForFacename Determines whether embedding is enabled for a specified font. |
TTLoadEmbeddedFont Reads an embedded font from the document stream and installs it. Also allows a client to further restrict embedding privileges of the font. |
TTRunValidationTests Validates part or all glyph data of a wide-character (16-bit) font, in the size range specified. |
TTRunValidationTestsEx Validates part or all glyph data of a UCS-4 character (32-bit) font, in the size range specified. |
UnionRect The UnionRect function creates the union of two rectangles. The union is the smallest rectangle that contains both source rectangles. |
UnrealizeObject The UnrealizeObject function resets the origin of a brush or resets a logical palette. |
UpdateColors The UpdateColors function updates the client area of the specified device context by remapping the current colors in the client area to the currently realized logical palette. |
UpdateWindow The UpdateWindow function updates the client area of the specified window by sending a WM_PAINT message to the window if the window's update region is not empty. |
ValidateRect The ValidateRect function validates the client area within a rectangle by removing the rectangle from the update region of the specified window. |
ValidateRgn The ValidateRgn function validates the client area within a region by removing the region from the current update region of the specified window. |
WidenPath The WidenPath function redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context. |
WindowFromDC The WindowFromDC function returns a handle to the window associated with the specified display device context (DC). Output functions that use the specified device context draw into this window. |
Structures
ABC The ABC structure contains the width of a character in a TrueType font. |
ABCFLOAT The ABCFLOAT structure contains the A, B, and C widths of a font character. |
AXESLISTA The AXESLIST structure contains information on all the axes of a multiple master font. (ANSI) |
AXESLISTW The AXESLIST structure contains information on all the axes of a multiple master font. (Unicode) |
AXISINFOA The AXISINFO structure contains information about an axis of a multiple master font. (ANSI) |
AXISINFOW The AXISINFO structure contains information about an axis of a multiple master font. (Unicode) |
BITMAP The BITMAP structure defines the type, width, height, color format, and bit values of a bitmap. |
BITMAPCOREHEADER The BITMAPCOREHEADER structure contains information about the dimensions and color format of a DIB. |
BITMAPCOREINFO The BITMAPCOREINFO structure defines the dimensions and color information for a DIB. |
BITMAPFILEHEADER The BITMAPFILEHEADER structure contains information about the type, size, and layout of a file that contains a DIB. |
BITMAPINFO The BITMAPINFO structure defines the dimensions and color information for a DIB. |
BITMAPINFOHEADER The BITMAPINFOHEADER structure contains information about the dimensions and color format of a device-independent bitmap (DIB). |
BITMAPV4HEADER The BITMAPV4HEADER structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.Applications can use the BITMAPV5HEADER structure for added functionality. |
BITMAPV5HEADER The BITMAPV5HEADER structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure. |
BLENDFUNCTION The BLENDFUNCTION structure controls blending by specifying the blending functions for source and destination bitmaps. |
COLORADJUSTMENT The COLORADJUSTMENT structure defines the color adjustment values used by the StretchBlt and StretchDIBits functions when the stretch mode is HALFTONE. You can set the color adjustment values by calling the SetColorAdjustment function. |
DESIGNVECTOR The DESIGNVECTOR structure is used by an application to specify values for the axes of a multiple master font. |
DIBSECTION The DIBSECTION structure contains information about a DIB created by calling the CreateDIBSection function. |
DISPLAY_DEVICEA The DISPLAY_DEVICE structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function. (ANSI) |
DISPLAY_DEVICEW The DISPLAY_DEVICE structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function. (Unicode) |
DRAWTEXTPARAMS The DRAWTEXTPARAMS structure contains extended formatting options for the DrawTextEx function. |
EMR The EMR structure provides the base structure for all enhanced metafile records. An enhanced metafile record contains the parameters for a specific GDI function used to create part of a picture in an enhanced format metafile. |
EMRABORTPATH Contains data for the AbortPath, BeginPath, EndPath, CloseFigure, FlattenPath, WidenPath, SetMetaRgn, SaveDC, and RealizePalette enhanced metafile records. |
EMRALPHABLEND The EMRALPHABLEND structure contains members for the AlphaBlend enhanced metafile record. |
EMRANGLEARC The EMRANGLEARC structure contains members for the AngleArc enhanced metafile record. |
EMRARC The EMRARC, EMRARCTO, EMRCHORD, and EMRPIE structures contain members for the Arc, ArcTo, Chord, and Pie enhanced metafile records. |
EMRBITBLT The EMRBITBLT structure contains members for the BitBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record. |
EMRCOLORCORRECTPALETTE The EMRCOLORCORRECTPALETTE structure contains members for the ColorCorrectPalette enhanced metafile record. |
EMRCOLORMATCHTOTARGET The EMRCOLORMATCHTOTARGET structure contains members for the ColorMatchToTarget enhanced metafile record. |
EMRCREATEBRUSHINDIRECT The EMRCREATEBRUSHINDIRECT structure contains members for the CreateBrushIndirect enhanced metafile record. |
EMRCREATECOLORSPACE The EMRCREATECOLORSPACE structure contains members for the CreateColorSpace enhanced metafile record. |
EMRCREATECOLORSPACEW The EMRCREATECOLORSPACEW structure contains members for the CreateColorSpace enhanced metafile record. It differs from EMRCREATECOLORSPACE in that it has a Unicode logical color space and also has an optional array containing raw source profile data. |
EMRCREATEDIBPATTERNBRUSHPT The EMRCREATEDIBPATTERNBRUSHPT structure contains members for the CreateDIBPatternBrushPt enhanced metafile record. The BITMAPINFO structure is followed by the bitmap bits that form a packed device-independent bitmap (DIB). |
EMRCREATEMONOBRUSH The EMRCREATEMONOBRUSH structure contains members for the CreatePatternBrush (when passed a monochrome bitmap) or CreateDIBPatternBrush (when passed a monochrome DIB) enhanced metafile records. |
EMRCREATEPALETTE The EMRCREATEPALETTE structure contains members for the CreatePalette enhanced metafile record. |
EMRCREATEPEN The EMRCREATEPEN structure contains members for the CreatePen enhanced metafile record. |
EMRELLIPSE The EMRELLIPSE and EMRRECTANGLE structures contain members for the Ellipse and Rectangle enhanced metafile records. |
EMREOF The EMREOF structure contains data for the enhanced metafile record that indicates the end of the metafile. |
EMREXCLUDECLIPRECT The EMREXCLUDECLIPRECT and EMRINTERSECTCLIPRECT structures contain members for the ExcludeClipRect and IntersectClipRect enhanced metafile records. |
EMREXTCREATEFONTINDIRECTW The EMREXTCREATEFONTINDIRECTW structure contains members for the CreateFontIndirect enhanced metafile record. |
EMREXTCREATEPEN The EMREXTCREATEPEN structure contains members for the ExtCreatePen enhanced metafile record. If the record contains a BITMAPINFO structure, it is followed by the bitmap bits that form a packed device-independent bitmap (DIB). |
EMREXTFLOODFILL The EMREXTFLOODFILL structure contains members for the ExtFloodFill enhanced metafile record. |
EMREXTSELECTCLIPRGN The EMREXTSELECTCLIPRGN structure contains members for the ExtSelectClipRgn enhanced metafile record. |
EMREXTTEXTOUTA The EMREXTTEXTOUTA and EMREXTTEXTOUTW structures contain members for the ExtTextOut, TextOut, or DrawText enhanced metafile records. |
EMRFILLPATH The EMRFILLPATH,�EMRSTROKEANDFILLPATH,� and EMRSTROKEPATH structures contain members for the FillPath, StrokeAndFillPath, and StrokePath enhanced metafile records. |
EMRFILLRGN The EMRFILLRGN structure contains members for the FillRgn enhanced metafile record. |
EMRFORMAT The EMRFORMAT structure contains information that identifies graphics data in an enhanced metafile. A GDICOMMENT_MULTIFORMATS enhanced metafile public comment contains an array of EMRFORMAT structures. |
EMRFRAMERGN The EMRFRAMERGN structure contains members for the FrameRgn enhanced metafile record. |
EMRGDICOMMENT The EMRGDICOMMENT structure contains application-specific data. |
EMRGLSBOUNDEDRECORD The EMRGLSBOUNDEDRECORD structure contains members for an enhanced metafile record generated by OpenGL functions. It contains data for OpenGL functions with information in pixel units that must be scaled when playing the metafile. |
EMRGLSRECORD The EMRGLSRECORD structure contains members for an enhanced metafile record generated by OpenGL functions. It contains data for OpenGL functions that scale automatically to the OpenGL viewport. |
EMRGRADIENTFILL The EMRGRADIENTFILL structure contains members for the GradientFill enhanced metafile record. |
EMRINVERTRGN The EMRINVERTRGN and EMRPAINTRGN structures contain members for the InvertRgn and PaintRgn enhanced metafile records. |
EMRLINETO The EMRLINETO and EMRMOVETOEX structures contains members for the LineTo and MoveToEx enhanced metafile records. |
EMRMASKBLT The EMRMASKBLT structure contains members for the MaskBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record. |
EMRMODIFYWORLDTRANSFORM The EMRMODIFYWORLDTRANSFORM structure contains members for the ModifyWorldTransform enhanced metafile record. |
EMROFFSETCLIPRGN The EMROFFSETCLIPRGN structure contains members for the OffsetClipRgn enhanced metafile record. |
EMRPIXELFORMAT The EMRPIXELFORMAT structure contains the members for the SetPixelFormat enhanced metafile record. The pixel format information in ENHMETAHEADER refers to this structure. |
EMRPLGBLT The EMRPLGBLT structure contains members for the PlgBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record. |
EMRPOLYDRAW The EMRPOLYDRAW structure contains members for the PolyDraw enhanced metafile record. |
EMRPOLYDRAW16 The EMRPOLYDRAW16 structure contains members for the PolyDraw enhanced metafile record. |
EMRPOLYLINE The EMRPOLYLINE, EMRPOLYBEZIER, EMRPOLYGON, EMRPOLYBEZIERTO, and EMRPOLYLINETO structures contain members for the Polyline, PolyBezier, Polygon, PolyBezierTo, and PolylineTo enhanced metafile records. |
EMRPOLYLINE16 The EMRPOLYLINE16, EMRPOLYBEZIER16, EMRPOLYGON16, EMRPOLYBEZIERTO16, and EMRPOLYLINETO16 structures contain members for the Polyline, PolyBezier, Polygon, PolyBezierTo, and PolylineTo enhanced metafile records. |
EMRPOLYPOLYLINE The EMRPOLYPOLYLINE and EMRPOLYPOLYGON structures contain members for the PolyPolyline and PolyPolygon enhanced metafile records. |
EMRPOLYPOLYLINE16 The EMRPOLYPOLYLINE16 and EMRPOLYPOLYGON16 structures contain members for the PolyPolyline and PolyPolygon enhanced metafile records. |
EMRPOLYTEXTOUTA The EMRPOLYTEXTOUTA and EMRPOLYTEXTOUTW structures contain members for the PolyTextOut enhanced metafile record. |
EMRRESIZEPALETTE The EMRRESIZEPALETTE structure contains members for the ResizePalette enhanced metafile record. |
EMRRESTOREDC The EMRRESTOREDC structure contains members for the RestoreDC enhanced metafile record. |
EMRROUNDRECT The EMRROUNDRECT structure contains members for the RoundRect enhanced metafile record. |
EMRSCALEVIEWPORTEXTEX The EMRSCALEVIEWPORTEXTEX and EMRSCALEWINDOWEXTEX structures contain members for the ScaleViewportExtEx and ScaleWindowExtEx enhanced metafile records. |
EMRSELECTCLIPPATH Contains parameters for the SelectClipPath, SetBkMode, SetMapMode, SetPolyFillMode, SetROP2, SetStretchBltMode, SetTextAlign, SetICMMode , and SetLayout enhanced metafile records. |
EMRSELECTOBJECT The EMRSELECTOBJECT and EMRDELETEOBJECT structures contain members for the SelectObject and DeleteObject enhanced metafile records. |
EMRSELECTPALETTE The EMRSELECTPALETTE structure contains members for the SelectPalette enhanced metafile record. Note that the bForceBackground parameter in SelectPalette is always recorded as TRUE, which causes the palette to be realized as a background palette. |
EMRSETARCDIRECTION The EMRSETARCDIRECTION structure contains members for the SetArcDirection enhanced metafile record. |
EMRSETBKCOLOR The EMRSETBKCOLOR and EMRSETTEXTCOLOR structures contain members for the SetBkColor and SetTextColor enhanced metafile records. |
EMRSETCOLORADJUSTMENT The EMRSETCOLORADJUSTMENT structure contains members for the SetColorAdjustment enhanced metafile record. |
EMRSETCOLORSPACE The EMRSETCOLORSPACE, EMRSELECTCOLORSPACE, and EMRDELETECOLORSPACE structures contain members for the SetColorSpace and DeleteColorSpace enhanced metafile records. |
EMRSETDIBITSTODEVICE The EMRSETDIBITSTODEVICE structure contains members for the SetDIBitsToDevice enhanced metafile record. |
EMRSETICMPROFILE The EMRSETICMPROFILE structure contains members for the SetICMProfile enhanced metafile record. |
EMRSETMAPPERFLAGS The EMRSETMAPPERFLAGS structure contains members for the SetMapperFlags enhanced metafile record. |
EMRSETMITERLIMIT The EMRSETMITERLIMIT structure contains members for the SetMiterLimit enhanced metafile record. |
EMRSETPALETTEENTRIES The EMRSETPALETTEENTRIES structure contains members for the SetPaletteEntries enhanced metafile record. |
EMRSETPIXELV The EMRSETPIXELV structure contains members for the SetPixelV enhanced metafile record. When an enhanced metafile is created, calls to SetPixel are also recorded in this record. |
EMRSETVIEWPORTEXTEX The EMRSETVIEWPORTEXTEX and EMRSETWINDOWEXTEX structures contains members for the SetViewportExtEx and SetWindowExtEx enhanced metafile records. |
EMRSETVIEWPORTORGEX The EMRSETVIEWPORTORGEX, EMRSETWINDOWORGEX, and EMRSETBRUSHORGEX structures contain members for the SetViewportOrgEx, SetWindowOrgEx, and SetBrushOrgEx enhanced metafile records. |
EMRSETWORLDTRANSFORM The EMRSETWORLDTRANSFORM structure contains members for the SetWorldTransform enhanced metafile record. |
EMRSTRETCHBLT The EMRSTRETCHBLT structure contains members for the StretchBlt enhanced metafile record. Note that graphics device interface (GDI) converts the device-dependent bitmap into a device-independent bitmap (DIB) before storing it in the metafile record. |
EMRSTRETCHDIBITS The EMRSTRETCHDIBITS structure contains members for the StretchDIBits enhanced metafile record. |
EMRTEXT The EMRTEXT structure contains members for text output. |
EMRTRANSPARENTBLT The EMRTRANSPARENTBLT structure contains members for the TransparentBLT enhanced metafile record. |
ENHMETAHEADER The ENHMETAHEADER structure contains enhanced-metafile data such as the dimensions of the picture stored in the enhanced metafile, the count of records in the enhanced metafile, the resolution of the device on which the picture was created, and so on.This structure is always the first record in an enhanced metafile. |
ENHMETARECORD The ENHMETARECORD structure contains data that describes a graphics device interface (GDI) function used to create part of a picture in an enhanced-format metafile. |
ENUMLOGFONTA The ENUMLOGFONT structure defines the attributes of a font, the complete name of a font, and the style of a font. (ANSI) |
ENUMLOGFONTEXA The ENUMLOGFONTEX structure contains information about an enumerated font. (ANSI) |
ENUMLOGFONTEXDVA The ENUMLOGFONTEXDV structure contains the information used to create a font. (ANSI) |
ENUMLOGFONTEXDVW The ENUMLOGFONTEXDV structure contains the information used to create a font. (Unicode) |
ENUMLOGFONTEXW The ENUMLOGFONTEX structure contains information about an enumerated font. (Unicode) |
ENUMLOGFONTW The ENUMLOGFONT structure defines the attributes of a font, the complete name of a font, and the style of a font. (Unicode) |
ENUMTEXTMETRICA The ENUMTEXTMETRIC structure contains information about a physical font. (ANSI) |
ENUMTEXTMETRICW The ENUMTEXTMETRIC structure contains information about a physical font. (Unicode) |
EXTLOGFONTA The EXTLOGFONT structure defines the attributes of a font. (ANSI) |
EXTLOGFONTW The EXTLOGFONT structure defines the attributes of a font. (Unicode) |
EXTLOGPEN The EXTLOGPEN structure defines the pen style, width, and brush attributes for an extended pen. |
FIXED The FIXED structure contains the integral and fractional parts of a fixed-point real number. |
GCP_RESULTSA The GCP_RESULTS structure contains information about characters in a string. This structure receives the results of the GetCharacterPlacement function. For some languages, the first element in the arrays may contain more, language-dependent information. (ANSI) |
GCP_RESULTSW The GCP_RESULTS structure contains information about characters in a string. This structure receives the results of the GetCharacterPlacement function. For some languages, the first element in the arrays may contain more, language-dependent information. (Unicode) |
GLYPHMETRICS The GLYPHMETRICS structure contains information about the placement and orientation of a glyph in a character cell. |
GLYPHSET The GLYPHSET structure contains information about a range of Unicode code points. |
GRADIENT_RECT The GRADIENT_RECT structure specifies the index of two vertices in the pVertex array in the GradientFill function. These two vertices form the upper-left and lower-right boundaries of a rectangle. |
GRADIENT_TRIANGLE The GRADIENT_TRIANGLE structure specifies the index of three vertices in the pVertex array in the GradientFill function. These three vertices form one triangle. |
HANDLETABLE The HANDLETABLE structure is an array of handles, each of which identifies a graphics device interface (GDI) object. |
KERNINGPAIR The KERNINGPAIR structure defines a kerning pair. |
LOGBRUSH The LOGBRUSH structure defines the style, color, and pattern of a physical brush. It is used by the CreateBrushIndirect and ExtCreatePen functions. |
LOGBRUSH32 The LOGBRUSH32 structure defines the style, color, and pattern of a physical brush. |
LOGFONTA The LOGFONT structure defines the attributes of a font. (ANSI) |
LOGFONTW The LOGFONT structure defines the attributes of a font. (Unicode) |
LOGPALETTE The LOGPALETTE structure defines a logical palette. |
LOGPEN The LOGPEN structure defines the style, width, and color of a pen. The CreatePenIndirect function uses the LOGPEN structure. |
MAT2 The MAT2 structure contains the values for a transformation matrix used by the GetGlyphOutline function. |
METAHEADER The METAHEADER structure contains information about a Windows-format metafile. |
METARECORD The METARECORD structure contains a Windows-format metafile record. |
MONITORINFO The MONITORINFO structure contains information about a display monitor.The GetMonitorInfo function stores information in a MONITORINFO structure or a MONITORINFOEX structure.The MONITORINFO structure is a subset of the MONITORINFOEX structure. |
MONITORINFOEXA The MONITORINFOEX structure contains information about a display monitor.The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure.The MONITORINFOEX structure is a superset of the MONITORINFO structure. (ANSI) |
MONITORINFOEXW The MONITORINFOEX structure contains information about a display monitor.The GetMonitorInfo function stores information into a MONITORINFOEX structure or a MONITORINFO structure.The MONITORINFOEX structure is a superset of the MONITORINFO structure. (Unicode) |
NEWTEXTMETRICA The NEWTEXTMETRIC structure contains data that describes a physical font. (ANSI) |
NEWTEXTMETRICEXA The NEWTEXTMETRICEX structure contains information about a physical font. (ANSI) |
NEWTEXTMETRICEXW The NEWTEXTMETRICEX structure contains information about a physical font. (Unicode) |
NEWTEXTMETRICW The NEWTEXTMETRIC structure contains data that describes a physical font. (Unicode) |
OUTLINETEXTMETRICA The OUTLINETEXTMETRIC structure contains metrics describing a TrueType font. (ANSI) |
OUTLINETEXTMETRICW The OUTLINETEXTMETRIC structure contains metrics describing a TrueType font. (Unicode) |
PAINTSTRUCT The PAINTSTRUCT structure contains information for an application. This information can be used to paint the client area of a window owned by that application. |
PANOSE The PANOSE structure describes the PANOSE font-classification values for a TrueType font. These characteristics are then used to associate the font with other fonts of similar appearance but different names. |
POINTFX The POINTFX structure contains the coordinates of points that describe the outline of a character in a TrueType font. |
POLYTEXTA The POLYTEXT structure describes how the PolyTextOut function should draw a string of text. (ANSI) |
POLYTEXTW The POLYTEXT structure describes how the PolyTextOut function should draw a string of text. (Unicode) |
RASTERIZER_STATUS The RASTERIZER_STATUS structure contains information about whether TrueType is installed. This structure is filled when an application calls the GetRasterizerCaps function. |
RGBQUAD The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue. |
RGBTRIPLE The RGBTRIPLE structure describes a color consisting of relative intensities of red, green, and blue. The bmciColors member of the BITMAPCOREINFO structure consists of an array of RGBTRIPLE structures. |
RGNDATA The RGNDATA structure contains a header and an array of rectangles that compose a region. The rectangles are sorted top to bottom, left to right. They do not overlap. |
RGNDATAHEADER The RGNDATAHEADER structure describes the data returned by the GetRegionData function. |
TEXTMETRICA The TEXTMETRIC structure contains basic information about a physical font. All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context. (ANSI) |
TEXTMETRICW The TEXTMETRIC structure contains basic information about a physical font. All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context. (Unicode) |
TRIVERTEX The TRIVERTEX structure contains color information and position information. |
TTEMBEDINFO The TTEMBEDINFO structure contains a list of URLs from which the embedded font object may be legitimately referenced. |
TTLOADINFO The TTLOADINFO structure contains the URL from which the embedded font object has been obtained. |
TTPOLYCURVE The TTPOLYCURVE structure contains information about a curve in the outline of a TrueType character. |
TTPOLYGONHEADER The TTPOLYGONHEADER structure specifies the starting position and type of a contour in a TrueType character outline. |
TTVALIDATIONTESTSPARAMS The TTVALIDATIONTESTSPARAMS structure contains parameters for testing a Microsoft OpenType font. |
TTVALIDATIONTESTSPARAMSEX The TTVALIDATIONTESTSPARAMSEX structure contains parameters for testing a Microsoft OpenType font. |
WCRANGE The WCRANGE structure specifies a range of Unicode characters. |
XFORM The XFORM structure specifies a world-space to page-space transformation. |