gdi32 topic

Windows GDI

The Windows Graphics Device Interface, which provides functions that perform primitive drawing functions for output to video displays and printers. Traditional Windows applications call GDI functions directly to perform low-level drawing (line, rectangle, ellipse), text output, font management, and similar functions.

Functions

AbortPath(int hdc) int gdi32
The AbortPath function closes and discards any paths in the specified device context.
AbortPath(int hdc) int gdi32
The AbortPath function closes and discards any paths in the specified device context.
AbortPath(int hdc) int gdi32
The AbortPath function closes and discards any paths in the specified device context.
AddFontResource(Pointer<Utf16> param0) int gdi32
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.
AddFontResource(Pointer<Utf16> param0) int gdi32
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.
AddFontResource(Pointer<Utf16> param0) int gdi32
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.
AddFontResourceEx(Pointer<Utf16> name, int fl, Pointer<NativeType> res) int gdi32
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.
AddFontResourceEx(Pointer<Utf16> name, int fl, Pointer<NativeType> res) int gdi32
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.
AddFontResourceEx(Pointer<Utf16> name, int fl, Pointer<NativeType> res) int gdi32
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.
AngleArc(int hdc, int x, int y, int r, double StartAngle, double SweepAngle) int gdi32
The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
AngleArc(int hdc, int x, int y, int r, double StartAngle, double SweepAngle) int gdi32
The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
AngleArc(int hdc, int x, int y, int r, double StartAngle, double SweepAngle) int gdi32
The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
AnimatePalette(int hPal, int iStartIndex, int cEntries, Pointer<PALETTEENTRY> ppe) int gdi32
The AnimatePalette function replaces entries in the specified logical palette.
AnimatePalette(int hPal, int iStartIndex, int cEntries, Pointer<PALETTEENTRY> ppe) int gdi32
The AnimatePalette function replaces entries in the specified logical palette.
AnimatePalette(int hPal, int iStartIndex, int cEntries, Pointer<PALETTEENTRY> ppe) int gdi32
The AnimatePalette function replaces entries in the specified logical palette.
Arc(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
The Arc function draws an elliptical arc.
Arc(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
The Arc function draws an elliptical arc.
Arc(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
The Arc function draws an elliptical arc.
ArcTo(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
The ArcTo function draws an elliptical arc.
ArcTo(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
The ArcTo function draws an elliptical arc.
ArcTo(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
The ArcTo function draws an elliptical arc.
BeginPath(int hdc) int gdi32
The BeginPath function opens a path bracket in the specified device context.
BeginPath(int hdc) int gdi32
The BeginPath function opens a path bracket in the specified device context.
BeginPath(int hdc) int gdi32
The BeginPath function opens a path bracket in the specified device context.
BitBlt(int hdc, int x, int y, int cx, int cy, int hdcSrc, int x1, int y1, int rop) int gdi32
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.
BitBlt(int hdc, int x, int y, int cx, int cy, int hdcSrc, int x1, int y1, int rop) int gdi32
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.
BitBlt(int hdc, int x, int y, int cx, int cy, int hdcSrc, int x1, int y1, int rop) int gdi32
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(int hdc) int gdi32
The CancelDC function cancels any pending operation on the specified device context (DC).
CancelDC(int hdc) int gdi32
The CancelDC function cancels any pending operation on the specified device context (DC).
CancelDC(int hdc) int gdi32
The CancelDC function cancels any pending operation on the specified device context (DC).
Chord(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
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.
Chord(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
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.
Chord(int hdc, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4) int gdi32
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.
CloseFigure(int hdc) int gdi32
The CloseFigure function closes an open figure in a path.
CloseFigure(int hdc) int gdi32
The CloseFigure function closes an open figure in a path.
CloseFigure(int hdc) int gdi32
The CloseFigure function closes an open figure in a path.
CreateCompatibleBitmap(int hdc, int cx, int cy) int gdi32
The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.
CreateCompatibleBitmap(int hdc, int cx, int cy) int gdi32
The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.
CreateCompatibleBitmap(int hdc, int cx, int cy) int gdi32
The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.
CreateCompatibleDC(int hdc) int gdi32
The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
CreateCompatibleDC(int hdc) int gdi32
The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
CreateCompatibleDC(int hdc) int gdi32
The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
CreateDC(Pointer<Utf16> pwszDriver, Pointer<Utf16> pwszDevice, Pointer<Utf16> pszPort, Pointer<DEVMODE> pdm) int gdi32
The CreateDC function creates a device context (DC) for a device using the specified name.
CreateDC(Pointer<Utf16> pwszDriver, Pointer<Utf16> pwszDevice, Pointer<Utf16> pszPort, Pointer<DEVMODE> pdm) int gdi32
The CreateDC function creates a device context (DC) for a device using the specified name.
CreateDC(Pointer<Utf16> pwszDriver, Pointer<Utf16> pwszDevice, Pointer<Utf16> pszPort, Pointer<DEVMODE> pdm) int gdi32
The CreateDC function creates a device context (DC) for a device using the specified name.
CreateDIBitmap(int hdc, Pointer<BITMAPINFOHEADER> pbmih, int flInit, Pointer<NativeType> pjBits, Pointer<BITMAPINFO> pbmi, int iUsage) int gdi32
The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits.
CreateDIBitmap(int hdc, Pointer<BITMAPINFOHEADER> pbmih, int flInit, Pointer<NativeType> pjBits, Pointer<BITMAPINFO> pbmi, int iUsage) int gdi32
The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits.
CreateDIBitmap(int hdc, Pointer<BITMAPINFOHEADER> pbmih, int flInit, Pointer<NativeType> pjBits, Pointer<BITMAPINFO> pbmi, int iUsage) int gdi32
The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits.
CreateDIBPatternBrushPt(Pointer<NativeType> lpPackedDIB, int iUsage) int gdi32
The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB).
CreateDIBPatternBrushPt(Pointer<NativeType> lpPackedDIB, int iUsage) int gdi32
The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB).
CreateDIBPatternBrushPt(Pointer<NativeType> lpPackedDIB, int iUsage) int gdi32
The CreateDIBPatternBrushPt function creates a logical brush that has the pattern specified by the device-independent bitmap (DIB).
CreateDIBSection(int hdc, Pointer<BITMAPINFO> pbmi, int usage, Pointer<Pointer<NativeType>> ppvBits, int hSection, int offset) int gdi32
The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
CreateDIBSection(int hdc, Pointer<BITMAPINFO> pbmi, int usage, Pointer<Pointer<NativeType>> ppvBits, int hSection, int offset) int gdi32
The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
CreateDIBSection(int hdc, Pointer<BITMAPINFO> pbmi, int usage, Pointer<Pointer<NativeType>> ppvBits, int hSection, int offset) int gdi32
The CreateDIBSection function creates a DIB that applications can write to directly. The function gives you a pointer to the location of the bitmap bit values. You can supply a handle to a file-mapping object that the function will use to create the bitmap, or you can let the system allocate the memory for the bitmap.
CreateEllipticRgn(int x1, int y1, int x2, int y2) int gdi32
The CreateEllipticRgn function creates an elliptical region.
CreateEllipticRgn(int x1, int y1, int x2, int y2) int gdi32
The CreateEllipticRgn function creates an elliptical region.
CreateEllipticRgn(int x1, int y1, int x2, int y2) int gdi32
The CreateEllipticRgn function creates an elliptical region.
CreateFontIndirect(Pointer<LOGFONT> lplf) int gdi32
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.
CreateFontIndirect(Pointer<LOGFONT> lplf) int gdi32
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.
CreateFontIndirect(Pointer<LOGFONT> lplf) int gdi32
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.
CreateHalftonePalette(int hdc) int gdi32
The CreateHalftonePalette function creates a halftone palette for the specified device context (DC).
CreateHalftonePalette(int hdc) int gdi32
The CreateHalftonePalette function creates a halftone palette for the specified device context (DC).
CreateHalftonePalette(int hdc) int gdi32
The CreateHalftonePalette function creates a halftone palette for the specified device context (DC).
CreateHatchBrush(int iHatch, int color) int gdi32
The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color.
CreateHatchBrush(int iHatch, int color) int gdi32
The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color.
CreateHatchBrush(int iHatch, int color) int gdi32
The CreateHatchBrush function creates a logical brush that has the specified hatch pattern and color.
CreatePen(int iStyle, int cWidth, int color) int gdi32
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.
CreatePen(int iStyle, int cWidth, int color) int gdi32
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.
CreatePen(int iStyle, int cWidth, int color) int gdi32
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.
CreateSolidBrush(int color) int gdi32
The CreateSolidBrush function creates a logical brush that has the specified solid color.
CreateSolidBrush(int color) int gdi32
The CreateSolidBrush function creates a logical brush that has the specified solid color.
CreateSolidBrush(int color) int gdi32
The CreateSolidBrush function creates a logical brush that has the specified solid color.
DeleteDC(int hdc) int gdi32
The DeleteDC function deletes the specified device context (DC).
DeleteDC(int hdc) int gdi32
The DeleteDC function deletes the specified device context (DC).
DeleteDC(int hdc) int gdi32
The DeleteDC function deletes the specified device context (DC).
DeleteObject(int ho) int gdi32
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.
DeleteObject(int ho) int gdi32
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.
DeleteObject(int ho) int gdi32
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.
DrawEscape(int hdc, int iEscape, int cjIn, Pointer<Utf8> lpIn) int gdi32
The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI).
DrawEscape(int hdc, int iEscape, int cjIn, Pointer<Utf8> lpIn) int gdi32
The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI).
DrawEscape(int hdc, int iEscape, int cjIn, Pointer<Utf8> lpIn) int gdi32
The DrawEscape function provides drawing capabilities of the specified video display that are not directly available through the graphics device interface (GDI).
Ellipse(int hdc, int left, int top, int right, int bottom) int gdi32
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.
Ellipse(int hdc, int left, int top, int right, int bottom) int gdi32
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.
Ellipse(int hdc, int left, int top, int right, int bottom) int gdi32
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.
EndPath(int hdc) int gdi32
The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.
EndPath(int hdc) int gdi32
The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.
EndPath(int hdc) int gdi32
The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.
EnumFontFamiliesEx(int hdc, Pointer<LOGFONT> lpLogfont, Pointer<NativeFunction<EnumFontFamExProc>> lpProc, int lParam, int dwFlags) int gdi32
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.
EnumFontFamiliesEx(int hdc, Pointer<LOGFONT> lpLogfont, Pointer<NativeFunction<EnumFontFamExProc>> lpProc, int lParam, int dwFlags) int gdi32
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.
EnumFontFamiliesEx(int hdc, Pointer<LOGFONT> lpLogfont, Pointer<NativeFunction<EnumFontFamExProc>> lpProc, int lParam, int dwFlags) int gdi32
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.
ExtCreatePen(int iPenStyle, int cWidth, Pointer<LOGBRUSH> plbrush, int cStyle, Pointer<Uint32> pstyle) int gdi32
The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
ExtCreatePen(int iPenStyle, int cWidth, Pointer<LOGBRUSH> plbrush, int cStyle, Pointer<Uint32> pstyle) int gdi32
The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
ExtCreatePen(int iPenStyle, int cWidth, Pointer<LOGBRUSH> plbrush, int cStyle, Pointer<Uint32> pstyle) int gdi32
The ExtCreatePen function creates a logical cosmetic or geometric pen that has the specified style, width, and brush attributes.
ExtTextOut(int hdc, int x, int y, int options, Pointer<RECT> lprect, Pointer<Utf16> lpString, int c, Pointer<Int32> lpDx) int gdi32
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.
ExtTextOut(int hdc, int x, int y, int options, Pointer<RECT> lprect, Pointer<Utf16> lpString, int c, Pointer<Int32> lpDx) int gdi32
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.
ExtTextOut(int hdc, int x, int y, int options, Pointer<RECT> lprect, Pointer<Utf16> lpString, int c, Pointer<Int32> lpDx) int gdi32
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.
FillPath(int hdc) int gdi32
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.
FillPath(int hdc) int gdi32
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.
FillPath(int hdc) int gdi32
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.
FlattenPath(int hdc) int gdi32
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.
FlattenPath(int hdc) int gdi32
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.
FlattenPath(int hdc) int gdi32
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.
GetDeviceCaps(int hdc, int index) int gdi32
The GetDeviceCaps function retrieves device-specific information for the specified device.
GetDeviceCaps(int hdc, int index) int gdi32
The GetDeviceCaps function retrieves device-specific information for the specified device.
GetDeviceCaps(int hdc, int index) int gdi32
The GetDeviceCaps function retrieves device-specific information for the specified device.
GetDIBits(int hdc, int hbm, int start, int cLines, Pointer<NativeType> lpvBits, Pointer<BITMAPINFO> lpbmi, int usage) int gdi32
The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.
GetDIBits(int hdc, int hbm, int start, int cLines, Pointer<NativeType> lpvBits, Pointer<BITMAPINFO> lpbmi, int usage) int gdi32
The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.
GetDIBits(int hdc, int hbm, int start, int cLines, Pointer<NativeType> lpvBits, Pointer<BITMAPINFO> lpbmi, int usage) int gdi32
The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.
GetNearestColor(int hdc, int color) int gdi32
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.
GetNearestColor(int hdc, int color) int gdi32
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.
GetNearestColor(int hdc, int color) int gdi32
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.
GetObject(int h, int c, Pointer<NativeType> pv) int gdi32
The GetObject function retrieves information for the specified graphics object.
GetObject(int h, int c, Pointer<NativeType> pv) int gdi32
The GetObject function retrieves information for the specified graphics object.
GetObject(int h, int c, Pointer<NativeType> pv) int gdi32
The GetObject function retrieves information for the specified graphics object.
GetPath(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
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.
GetPath(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
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.
GetPath(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
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(int hdc, int x, int y) int gdi32
The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
GetPixel(int hdc, int x, int y) int gdi32
The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
GetPixel(int hdc, int x, int y) int gdi32
The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
GetStockObject(int i) int gdi32
The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.
GetStockObject(int i) int gdi32
The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.
GetStockObject(int i) int gdi32
The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.
GetTextMetrics(int hdc, Pointer<TEXTMETRIC> lptm) int gdi32
The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font.
GetTextMetrics(int hdc, Pointer<TEXTMETRIC> lptm) int gdi32
The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font.
GetTextMetrics(int hdc, Pointer<TEXTMETRIC> lptm) int gdi32
The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font.
GetWindowExtEx(int hdc, Pointer<SIZE> lpsize) int gdi32
This function retrieves the x-extent and y-extent of the window for the specified device context.
GetWindowExtEx(int hdc, Pointer<SIZE> lpsize) int gdi32
This function retrieves the x-extent and y-extent of the window for the specified device context.
GetWindowExtEx(int hdc, Pointer<SIZE> lpsize) int gdi32
This function retrieves the x-extent and y-extent of the window for the specified device context.
GetWindowOrgEx(int hdc, Pointer<POINT> lppoint) int gdi32
The GetWindowOrgEx function retrieves the x-coordinates and y-coordinates of the window origin for the specified device context.
GetWindowOrgEx(int hdc, Pointer<POINT> lppoint) int gdi32
The GetWindowOrgEx function retrieves the x-coordinates and y-coordinates of the window origin for the specified device context.
GetWindowOrgEx(int hdc, Pointer<POINT> lppoint) int gdi32
The GetWindowOrgEx function retrieves the x-coordinates and y-coordinates of the window origin for the specified device context.
LineTo(int hdc, int x, int y) int gdi32
The LineTo function draws a line from the current position up to, but not including, the specified point.
LineTo(int hdc, int x, int y) int gdi32
The LineTo function draws a line from the current position up to, but not including, the specified point.
LineTo(int hdc, int x, int y) int gdi32
The LineTo function draws a line from the current position up to, but not including, the specified point.
MoveToEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
MoveToEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
MoveToEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
Pie(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
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.
Pie(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
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.
Pie(int hdc, int left, int top, int right, int bottom, int xr1, int yr1, int xr2, int yr2) int gdi32
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.
PolyBezier(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezier function draws one or more Bézier curves.
PolyBezier(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezier function draws one or more Bézier curves.
PolyBezier(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezier function draws one or more Bézier curves.
PolyBezierTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezierTo function draws one or more Bézier curves.
PolyBezierTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezierTo function draws one or more Bézier curves.
PolyBezierTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolyBezierTo function draws one or more Bézier curves.
PolyDraw(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
The PolyDraw function draws a set of line segments and Bézier curves.
PolyDraw(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
The PolyDraw function draws a set of line segments and Bézier curves.
PolyDraw(int hdc, Pointer<POINT> apt, Pointer<Uint8> aj, int cpt) int gdi32
The PolyDraw function draws a set of line segments and Bézier curves.
Polygon(int hdc, Pointer<POINT> apt, int cpt) int gdi32
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.
Polygon(int hdc, Pointer<POINT> apt, int cpt) int gdi32
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.
Polygon(int hdc, Pointer<POINT> apt, int cpt) int gdi32
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(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The Polyline function draws a series of line segments by connecting the points in the specified array.
Polyline(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The Polyline function draws a series of line segments by connecting the points in the specified array.
Polyline(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The Polyline function draws a series of line segments by connecting the points in the specified array.
PolylineTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolylineTo function draws one or more straight lines.
PolylineTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolylineTo function draws one or more straight lines.
PolylineTo(int hdc, Pointer<POINT> apt, int cpt) int gdi32
The PolylineTo function draws one or more straight lines.
PolyPolygon(int hdc, Pointer<POINT> apt, Pointer<Int32> asz, int csz) int gdi32
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.
PolyPolygon(int hdc, Pointer<POINT> apt, Pointer<Int32> asz, int csz) int gdi32
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.
PolyPolygon(int hdc, Pointer<POINT> apt, Pointer<Int32> asz, int csz) int gdi32
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(int hdc, Pointer<POINT> apt, Pointer<Uint32> asz, int csz) int gdi32
The PolyPolyline function draws multiple series of connected line segments.
PolyPolyline(int hdc, Pointer<POINT> apt, Pointer<Uint32> asz, int csz) int gdi32
The PolyPolyline function draws multiple series of connected line segments.
PolyPolyline(int hdc, Pointer<POINT> apt, Pointer<Uint32> asz, int csz) int gdi32
The PolyPolyline function draws multiple series of connected line segments.
PtInRegion(int hrgn, int x, int y) int gdi32
The PtInRegion function determines whether the specified point is inside the specified region.
PtInRegion(int hrgn, int x, int y) int gdi32
The PtInRegion function determines whether the specified point is inside the specified region.
PtInRegion(int hrgn, int x, int y) int gdi32
The PtInRegion function determines whether the specified point is inside the specified region.
Rectangle(int hdc, int left, int top, int right, int bottom) int gdi32
The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
Rectangle(int hdc, int left, int top, int right, int bottom) int gdi32
The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
Rectangle(int hdc, int left, int top, int right, int bottom) int gdi32
The Rectangle function draws a rectangle. The rectangle is outlined by using the current pen and filled by using the current brush.
RectInRegion(int hrgn, Pointer<RECT> lprect) int gdi32
The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region.
RectInRegion(int hrgn, Pointer<RECT> lprect) int gdi32
The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region.
RectInRegion(int hrgn, Pointer<RECT> lprect) int gdi32
The RectInRegion function determines whether any part of the specified rectangle is within the boundaries of a region.
RoundRect(int hdc, int left, int top, int right, int bottom, int width, int height) int gdi32
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.
RoundRect(int hdc, int left, int top, int right, int bottom, int width, int height) int gdi32
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.
RoundRect(int hdc, int left, int top, int right, int bottom, int width, int height) int gdi32
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(int hdc) int gdi32
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.
SaveDC(int hdc) int gdi32
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.
SaveDC(int hdc) int gdi32
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.
SelectClipPath(int hdc, int mode) int gdi32
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.
SelectClipPath(int hdc, int mode) int gdi32
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.
SelectClipPath(int hdc, int mode) int gdi32
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.
SelectObject(int hdc, int h) int gdi32
The SelectObject function selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
SelectObject(int hdc, int h) int gdi32
The SelectObject function selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
SelectObject(int hdc, int h) int gdi32
The SelectObject function selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
SetBkColor(int hdc, int color) int gdi32
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.
SetBkColor(int hdc, int color) int gdi32
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.
SetBkColor(int hdc, int color) int gdi32
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(int hdc, int mode) int gdi32
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.
SetBkMode(int hdc, int mode) int gdi32
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.
SetBkMode(int hdc, int mode) int gdi32
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.
SetMapMode(int hdc, int iMode) int gdi32
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.
SetMapMode(int hdc, int iMode) int gdi32
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.
SetMapMode(int hdc, int iMode) int gdi32
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.
SetPixel(int hdc, int x, int y, int color) int gdi32
The SetPixel function sets the pixel at the specified coordinates to the specified color.
SetPixel(int hdc, int x, int y, int color) int gdi32
The SetPixel function sets the pixel at the specified coordinates to the specified color.
SetPixel(int hdc, int x, int y, int color) int gdi32
The SetPixel function sets the pixel at the specified coordinates to the specified color.
SetStretchBltMode(int hdc, int mode) int gdi32
The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.
SetStretchBltMode(int hdc, int mode) int gdi32
The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.
SetStretchBltMode(int hdc, int mode) int gdi32
The SetStretchBltMode function sets the bitmap stretching mode in the specified device context.
SetTextColor(int hdc, int color) int gdi32
The SetTextColor function sets the text color for the specified device context to the specified color.
SetTextColor(int hdc, int color) int gdi32
The SetTextColor function sets the text color for the specified device context to the specified color.
SetTextColor(int hdc, int color) int gdi32
The SetTextColor function sets the text color for the specified device context to the specified color.
SetViewportExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetViewportExtEx function sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
SetViewportExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetViewportExtEx function sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
SetViewportExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetViewportExtEx function sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
SetViewportOrgEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The SetViewportOrgEx function specifies which device point maps to the window origin (0,0).
SetViewportOrgEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The SetViewportOrgEx function specifies which device point maps to the window origin (0,0).
SetViewportOrgEx(int hdc, int x, int y, Pointer<POINT> lppt) int gdi32
The SetViewportOrgEx function specifies which device point maps to the window origin (0,0).
SetWindowExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetWindowExtEx function sets the horizontal and vertical extents of the window for a device context by using the specified values.
SetWindowExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetWindowExtEx function sets the horizontal and vertical extents of the window for a device context by using the specified values.
SetWindowExtEx(int hdc, int x, int y, Pointer<SIZE> lpsz) int gdi32
The SetWindowExtEx function sets the horizontal and vertical extents of the window for a device context by using the specified values.
StretchBlt(int hdcDest, int xDest, int yDest, int wDest, int hDest, int hdcSrc, int xSrc, int ySrc, int wSrc, int hSrc, int rop) int gdi32
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. The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
StretchBlt(int hdcDest, int xDest, int yDest, int wDest, int hDest, int hdcSrc, int xSrc, int ySrc, int wSrc, int hSrc, int rop) int gdi32
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. The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
StretchBlt(int hdcDest, int xDest, int yDest, int wDest, int hDest, int hdcSrc, int xSrc, int ySrc, int wSrc, int hSrc, int rop) int gdi32
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. The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
StretchDIBits(int hdc, int xDest, int yDest, int DestWidth, int DestHeight, int xSrc, int ySrc, int SrcWidth, int SrcHeight, Pointer<NativeType> lpBits, Pointer<BITMAPINFO> lpbmi, int iUsage, int rop) int gdi32
The StretchDIBits function copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle. If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
StretchDIBits(int hdc, int xDest, int yDest, int DestWidth, int DestHeight, int xSrc, int ySrc, int SrcWidth, int SrcHeight, Pointer<NativeType> lpBits, Pointer<BITMAPINFO> lpbmi, int iUsage, int rop) int gdi32
The StretchDIBits function copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle. If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
StretchDIBits(int hdc, int xDest, int yDest, int DestWidth, int DestHeight, int xSrc, int ySrc, int SrcWidth, int SrcHeight, Pointer<NativeType> lpBits, Pointer<BITMAPINFO> lpbmi, int iUsage, int rop) int gdi32
The StretchDIBits function copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle. If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
StrokeAndFillPath(int hdc) int gdi32
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.
StrokeAndFillPath(int hdc) int gdi32
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.
StrokeAndFillPath(int hdc) int gdi32
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(int hdc) int gdi32
The StrokePath function renders the specified path by using the current pen.
StrokePath(int hdc) int gdi32
The StrokePath function renders the specified path by using the current pen.
StrokePath(int hdc) int gdi32
The StrokePath function renders the specified path by using the current pen.
TextOut(int hdc, int x, int y, Pointer<Utf16> lpString, int c) int gdi32
The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color.
TextOut(int hdc, int x, int y, Pointer<Utf16> lpString, int c) int gdi32
The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color.
TextOut(int hdc, int x, int y, Pointer<Utf16> lpString, int c) int gdi32
The TextOut function writes a character string at the specified location, using the currently selected font, background color, and text color.
WidenPath(int hdc) int gdi32
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.
WidenPath(int hdc) int gdi32
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.
WidenPath(int hdc) int gdi32
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.