The device scene function of the API

Source: Internet
Author: User
Tags range
Combinergn Combine two areas into a new zone
Combinetransform Drive the world to transform. It's equivalent to two conversions in sequence.
CreateCompatibleDC Create a memory device scenario that is consistent with a specific device scenario
CreateDC Create a device scene for a specialized device
CreateEllipticRgn Create an Ellipse
CreateEllipticRgnIndirect Creates an elliptical region that is tangent to a particular rectangle
CreateIC Create an information scene for a dedicated device
CreatePolygonRgn Create an area surrounded by a series of dots
CreatePolyPolygonRgn Creates a region that is made up of multiple polygons. Each polygon should be closed
CreateRectRgn Create a rectangular area
CreateRectRgnIndirect Create a rectangular area
CreateRoundRectRgn Create a rounded Rectangle
DeleteDC Remove a dedicated device scenario or information scenario, releasing all relevant window resources
Dptolp Converts a dot matrix from device coordinates to a dedicated device scene logical coordinate
Equalrgn Determine whether two zones are equal
Excludecliprect Removes a rectangular area from the clipping area of a dedicated device scene. Cannot draw within a rectangle
ExcludeUpdateRgn Remove the refresh area of the specified window from the dedicated device scene clipping area
Extcreateregion Modify the region according to the world transformation
Extselectcliprgn Combines the specified range into the current clipping area of the device scene
Fillrgn Fills the specified range with the specified brush
Framergn Draws an outer frame around the specified area with the specified brush
Getboundsrect Gets the bounding rectangle for the specified device scene
Getclipbox Gets the smallest rectangle that fully contains the specified device scene trim area
Getcliprgn Get device scene current clipping area
GetDC Gets the device scene for the specified window
GetDCEx Gets the device scene for the specified window. This function provides more options than GetDC
Getdcorgex Gets the location of the specified device scene starting point (represented in screen coordinates)
GetDeviceCaps Returns information based on the capabilities of the device represented by the specified device scenario
Getgraphicsmode Determines whether to allow enhanced graphics mode (World conversion)
Getmapmode Adjust the image mode for a specific device scene
Getregiondata Loads a rgndata structure or buffer that describes a region's information
Getrgnbox Gets the smallest rectangle that fully contains the specified range
Getupdatergn Determines the refresh area for the specified window. The range is currently invalid and needs to be refreshed
Getviewportextex Get device Scene viewport (viewport) range
Getviewportorgex Get device Scene viewport start
GetWindowDC Get the device scene for the entire window (including borders, scroll bars, title bars, menus, and so on)
Getwindowextex Gets the window range for the specified device scene
Getwindoworgex Gets the starting point of the logical window for the specified device scenario
Getwindowrgn Get window Area
Getworldtransform If there is a world conversion, get the current world transformation for the device scene
IntersectClipRect Defines a new clipping area for the specified device
InvalidateRgn Causes the window to specify that the area is inactive and adds it to the window refresh area so that it can then be repaint
Invertrgn Reverses the device scene specified area by reversing each pixel value
Lptodp Converts a dot matrix from a specified device scene logical coordinate to a device coordinate
Modifyworldtransform Modifies the world transformation according to the specified pattern
Offsetcliprgn Translates the device scene clipping area by a specified amount
Offsetrgn Translates the specified range by the specified offset
Offsetviewportorgex Translation device Scene viewport area
Offsetwindoworgex To pan the starting point of the specified device scene window
Paintrgn Fills the specified range with the current brush background color
PtInRegion Determine if the point is within the specified range
Ptvisible Determines whether the specified point is visible (that is, whether the point is in the device scene clipping area)
Rectinregion Determines whether a rectangle has a portion in the specified range
Rectvisible Determines whether a specified rectangle is partially visible (whether in the device scene clipping area)
ReleaseDC Frees the specified device scene obtained by the calling GetDC or GETWINDOWDC function
RestoreDC Restore a previously saved device scene from the device scenario stack
SaveDC Saves the specified device scenario state to the Windows device scene stack
Scaleviewportextex Scale the scope of the device scene viewport
Scalewindowextex Scales the specified Device scene window range
ScrollDC Scrolls the rectangle horizontally and/or vertically in a window (represented by a device scene)
SelectClipRgn Select a new clipping area for the specified device scene
Setboundsrect Sets the bounding rectangle for the specified device scene
SetGraphicsMode Allow or disable enhanced graphics mode to provide some support (including world conversions)
Setmapmode Sets the mapping mode for the specified device scenario
Setrectrgn Sets the range to the specified rectangle
Setviewportextex Set the device scene viewport range
Setviewportorgex Set the device scene viewport starting point
Setwindowextex Set the specified Device Scene window range
Setwindoworgex Sets the starting point for the specified device scene window
SetWindowRgn Set the window area
Setworldtransform Setting up the world transformation
ValidateRgn Activates the specified area in the window and removes it from the refresh area
Windowfromdc Retrieve a handle to a window associated with a device scene

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.