Win32 API Mapping function

Source: Internet
Author: User

Abortpath discards all paths selected in the specified device scene. Also cancels the creation of any path that is currently in progress
Anglearc draw a line with a connecting arc
ARC draws an arc
Beginpath Start a path branch
CANCELDC a long-time drawing operation to cancel another line thread
Chord Draw a String
Closeenhmetafile closes the specified enhanced metafile device scene and returns a handle to the newly created metafile
Closefigure drawing to a path, close the currently open graphic
Closemetafile closes the specified metafile device scene and returns a handle to the newly created metafile
Copyenhmetafile making a copy of the specified enhanced metafile (copy)
Copymetafile making a copy of the specified (standard) metafile
CreateBrushIndirect Create a brush on the basis of a LOGBRUSH data structure
CreateDIBPatternBrush Create a brush with a device-independent bitmap to specify the brush style (pattern)
CreateEnhMetaFile Creating an Enhanced metafile device scenario
Createhatchbrush Create a brush with a shaded pattern
Createmetafile Creating a metafile device scenario
CreatePatternBrush Create a brush with a bitmap that specifies a brush pattern
CreatePen Create a brush with the specified style, width, and color
Createpenindirect creates a brush based on the specified logpen structure
CreateSolidBrush creating a brush with a solid color
DeleteEnhMetaFile Deleting the specified enhanced metafile
Deletemetafile Deleting the specified metafile
DeleteObject Delete GDI objects, all system resources used by the object are freed
Drawedge the border of a rectangle with the specified style
Drawescape (Escape) function sends data directly to the display device driver
DrawFocusRect Draw a Focus rectangle
Drawframecontrol depicts a standard control
Drawstate apply a variety of effects to an image or drawing operation
Ellipse depicts an ellipse, surrounded by a specified rectangle.
Endpath Stop defining a path
Enumenhmetafile lists individual metafile records for an enhanced metafile
Enummetafile enumeration of individual metafile records for a standard Windows metafile
EnumObjects enumeration of brushes and brushes that can be used with specified device scenes
Extcreatepen Creating an extension brush (decoration or geometry)
Extfloodfill fills an area with the currently selected brush in the specified device scene
FillPath Close any open graphics in the path and fill them with the current brush
FillRect fills a rectangle with the specified brush
Flattenpath convert all curves in a path to line segments
FloodFill fills an area in the specified device scene with the currently selected brush
Framerect draw a border around a rectangle with the specified brush
Gdicomment adds a comment message for the specified enhanced metafile device scenario
Gdiflush perform any pending drawing operations
Gdigetbatchlimit determine how many GDI drawing commands are in the queue
GDISETBATCHLIMIT specifies how many GDI drawing commands are capable of entering the queue
Getarcdirection when drawing arcs, judging the direction of the drawing currently in use
GetBkColor gets the current background color of the specified device scene
Getbkmode the current background fill mode for the specified device scene
Getbrushorgex determines the starting point of the currently selected brush in the specified device scene
Getcurrentobject gets the currently selected object of the specified type
Getcurrentpositionex to get the current brush position in the specified device scene
GetEnhMetaFile get a metafile handle for an enhanced metafile contained in a disk file
Getenhmetafilebits Copy the specified enhanced metafile into a memory buffer
Getenhmetafiledescription returns a description of an enhanced metafile
Getenhmetafileheader getting the metafile header for enhanced metafile
GetEnhMetaFilePaletteEntries get all or part of the palette for enhanced metafile
Getmetafile metafile handle for metafile contained in a disk file
Getmetafilebitsex Copy the specified metafile to a memory buffer
Getmiterlimit get the slope limit (Miter) setting for the device scene
Getnearestcolor a solid color closest to the specified color, depending on the display capability of the device
Getobjectapi gets a structure that describes the specified object
Getobjecttype determines the type of GDI object referenced by the specified handle
GetPath get a series of data defined for the current path
GetPixel gets the RGB value of a pixel in the specified device scene
Getpolyfillmode polygon Fill mode for the specified device scene
GetROP2 the current drawing mode for the specified device scene
Getstockobject get an intrinsic object (Stock)
Getsyscolorbrush get a brush for any standard system color
Getwinmetafilebits convert an enhanced metafile to a standard Windows metafile by populating data in a buffer for standard metafile
InvertRect reverses the specified rectangle in a device scene by reversing the value of each pixel
LineDDA enumeration of all points in a specified segment
LineTo draws a line with the current brush, connecting from the current position to a specified point
MOVETOEX specifies a new current brush position for the specified device scene
Paintdesk depicting desktop wallpaper patterns in a specified device scene
Pathtoregion convert the currently selected path into a region
Pie Draw a pie chart
Playenhmetafile drawing an enhanced metafile in the specified device scene
Playenhmetafilerecord playback of a single enhanced metafile record
PlayMetaFile playback of a metafile in a specified device scene
Playmetafilerecord replay a single record from a metafile
Polybezier depicts one or more Bézier (Bezier) curves
Polydraw depicts a complex curve consisting of a line segment and a Bezier curve.
Polygon depicts a polygon
Polyline depicts a series of segments with the current brush
Polypolygon depicts two or more polygons with the currently selected brush
Polypolyline depicts two or more polygons with the currently selected brush
Rectangle depicts the rectangle with the currently selected brush and fills it with the brush currently selected
RoundRect draws a rounded rectangle with the currently selected brush and fills it with the currently selected brush
Selectclippath Merge the current path of the device scene into the clipping area
SelectObject selecting a drawing object for the current device scene
Setarcdirection setting the direction in which arcs are depicted
SetBkColor setting the background color for the specified device scene
SETBKMODE Specifies the fill of the shadow brush, the dashed brush, and the space in the character
Setbrushorgex sets the starting point for the currently selected brush for the specified device scene
Setenhmetafilebits creating an enhanced metafile with the data contained within the specified memory buffer
Setmetafilebitsex creating a metafile with a data structure contained within a specified memory buffer
Setmiterlimit setting the current slope limit for a device scene
SetPixel setting the RGB value of a pixel in a specified device scene
Setpixelv setting the RGB value of a pixel in a specified device scene
Setpolyfillmode to set the fill mode of a polygon
SetROP2 sets the drawing mode for the specified device scene. Fully consistent with the DrawMode property of VB
Setwinmetafilebits convert a standard Windows metafile to an enhanced metafile
Strokeandfillpath Close all open areas on the path for the specified device scene
Strokepath depicts the outline of a path with the current brush. The open graphic is not closed by this function
UnrealizeObject A Brush object is selected before the device scene, such as the start of the brush is ready to be modified with Setbrushorgex, the function must be called first
Widenpath redefine the currently selected path based on the width of the selected brush

Reproduced in?: http://blog.sina.com.cn/s/blog_873a233e0100vqtk.html

Win32 API Mapping function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.