Win32: Windows API (1)

Source: Internet
Author: User
Tags drawtext filetime readfile

 

1. network functions of Apis

 

WNetAddConnection creates a permanent connection to the same network resource

WNetAddConnection2 create a connection to the same network resource

WNetAddConnection3 create a connection to the same network resource

WNetCancelConnection ends a network connection

WNetCancelConnection2 ends a network connection

WNetCloseEnum ends an enumeration operation

WNetConnectionDialog starts a standard dialog box to establish a connection with network resources.

WNetDisconnectDialog starts a standard dialog box to disconnect network resources.

WNetEnumResource enumeration Network Resources

WNetGetConnection gets the network name of a local or connected Resource

WNetGetLastError: Get the extended error message of network errors

WNetGetUniversalName: Obtain the remote name and/or UNC (Unified naming convention) Name of a file in the network.

WNetGetUser obtains the name of a network resource used for connection.

WNetOpenEnum starts the network resource enumeration process

 

2. Message functions of Apis

 

BroadcastSystemMessage broadcasts a system message to all top-level windows in the system.

GetMessagePos obtains the mouse pointer to the screen position when the previous message in the message queue is processed.

GetMessageTime: the time when the previous message in the message queue is processed.

PostMessage delivers a message to the message queue in the specified window.

PostThreadMessage delivers a message to the application

RegisterWindowMessage gets the message number assigned to a string identifier

ReplyMessage

SendMessage calls the window function of a window and sends a message to that window.

SendMessageCallback sends a message to the window

SendMessageTimeout sends a message to the window

Sendpolicymessage sends a message to the window

 

3. API-based file processing functions

 

CloseHandle closes a kernel object. This includes file, file ing, process, thread, security, and synchronization objects.

CompareFileTime: Compare the time of two files

CopyFile

CreateDirectory create a new directory

CreateFile

CreateFileMapping creates a new file ing object

DeleteFile: delete a specified file

DeviceIoControl

DosDateTimeToFileTime converts the DOS date and time value to a win32 FILETIME value.

FileTimeToDosDateTime converts a win32 FILETIME value to a DOS Date and Time Value.

FileTimeToLocalFileTime converts a FILETIME structure to the local time

FileTimeToSystemTime loads a SYSTEMTIME structure based on the content of a FILETIME structure.

FindClose closes a search handle created by the FindFirstFile function.

FindFirstFile

FindNextFile searches for the next file based on a file name specified when the FindFirstFile function is called.

FlushFileBuffers refreshes the internal file buffer for the specified file handle

FlushViewOfFile refreshes all data written into the file ing buffer to the disk.

GetBinaryType determines whether the file can be executed

GetCompressedFileSize: determines the actual number of bytes occupied by a compressed file on the disk.

GetCurrentDirectory loads the current directory in a buffer

GetDiskFreeSpace obtains information about the organization of a disk and the capacity of the remaining space.

GetDiskFreeSpaceEx obtains information about the organization of a disk and the remaining space.

GetDriveType determines the type of a disk drive

GetExpandedName: Get the full name of a compressed file

GetFileAttributes determines the attributes of a specified file

GetFileInformationByHandle: This function provides a mechanism for obtaining file information.

GetFileSize determines the file length

GetFileTime: Get the time information of the specified object

GetFileType: determines the file type while giving the file handle.

GetFileVersionInfo obtains the file version information from a module that supports version tagging.

GetFileVersionInfoSize determines the size of a buffer zone for a file containing version Resources

GetFullPathName: Get the complete path name of the specified file

GetLogicalDrives

GetLogicalDriveStrings gets a string containing the root drive path of all current logical drives

GetOverlappedResult determines the current status of an overlapping operation

GetPrivateProfileInt gets an integer for the entry specified in the initialization file (. ini file ).

GetPrivateProfileSection obtains a list Of all item names and values in the specified section (in the. ini file ).

GetPrivateProfileString is the string obtained for the specified entry in the initialization file

GetProfileInt gets an integer of the specified entry in the win. ini initialization file.

GetProfileSection obtains a list Of all item names and values in the specified section (in the win. ini file ).

GetProfileString is the string specified in the win. ini initialization file.

GetShortPathName: Get the short path name of the specified file

GetSystemDirectory: Obtain the complete path name of the Windows System directory (that is, the System directory ).

The GetTempFileName function contains the name of a temporary file, which can be used by applications.

GetTempPath: Get the path specified for the temporary file

GetVolumeInformation obtains information about a disk volume.

GetWindowsDirectory: Obtain the complete path name of the Windows directory

Hread reference lread

Hwrite reference lwrite Function

Lclose closes the specified file

Lcreat creates a file

Llseek sets the current location for reading and writing in the file

LockFile locks a part of the file so that it is not shared with other applications.

LockFileEx is similar to LockFile, but it provides more functions.

Lopen opens the specified file in binary mode.

Lread reads data from files into the memory buffer.

Lwrite writes data from the memory buffer to a file

LZClose closes a file opened by the LZOpenFile or LZInit function.

Copy an object through LZCopy

LZInit: This function is used to initialize the internal buffer.

LZOpenFile: this function can process a large number of different files and is compatible with compressed files.

LZRead reads data from files into the memory buffer

LZSeek sets the current position for reading and writing a file.

MapViewOfFile maps a file ing object to the address space of the current application.

MoveFile

The OpenFile function can perform a large number of different file operations.

OpenFileMapping open a ready-made file ing object

QueryDosDevice in Windows NT, the DOS device name is mapped to the NT System device name. This function can be used to determine the current device ing status.

ReadFile reads data from a file

ReadFileEx is similar to ReadFile, but it can only be used for asynchronous read operations and contains a complete callback.

RegCloseKey disables an entry (or key) in the system registry)

RegConnectRegistry accessing some registries of the remote system

RegCreateKey creates or opens an item under the specified item

RegCreateKeyEx is a more complex way to create a new project under a specified item. We recommend that you use this function in the Win32 environment.

RegDeleteKey: delete a specified subitem under an existing item.

RegDeletevalue deletes a value under a specified item

RegEnumKey refers to the subitem of a specified item. Use RegEnumKeyEx in Win32

RegEnumKeyEx enumeration subitem under a specified item

RegEnumvalue enumeration value of a specified item

RegFlushKey writes the changes made to the item and its sub-item to the disk.

RegGetKeySecurity obtains the security information related to a registry key.

RegLoadKey loads registry information from a file previously created using the RegSaveKey Function

This function provides a notification mechanism when the registry key or any of its subkeys change.

RegOpenKey open an existing registry key

RegOpenKeyEx opens an existing item. This function is recommended in win32.

RegQueryInfoKey obtains information related to an item.

RegQueryvalue gets the default (untitled) value of a specified item or subitem

RegQueryvalueEx obtains the setting value of an item.

RegReplaceKey replaces the registry information with the information saved in a disk file, and creates a backup that contains the current registry information.

RegRestoreKey restores registry information from a disk file

RegSaveKey saves an item and all its sub-items to a disk file.

RegSetKeySecurity: sets the security features of a specified item.

RegSetvalue: sets the default value of a specified item or subitem.

RegSetvalueEx

RegUnLoadKey uninstalls the specified item and all its sub-items.

RemoveDirectory: delete a specified directory

SearchPath

SetCurrentDirectory

SetEndOfFile sets the current file location to the end of the file for an opened file

SetFileAttributes

SetFilePointer sets the current read/write location in a file

SetFileTime: Set the file creation, access, and last modification time.

The SetHandleCount function does not need to be used in win32. Even if it is used, it will not have any effect.

SetVolumeLabel sets the Label of a disk)

SystemTimeToFileTime loads a SYSTEMTIME structure based on the content of a FILETIME structure.

UnlockFile unlocks a file

UnlockFileEx unlocks a file

UnmapViewOfFile unmaps a file ing object from the memory address space of the current application.

VerFindFile uses this function to determine where a file should be installed.

VerInstallFile uses this function to install a file

Verrentagename: this function can obtain the name of a language based on 16-bit language code.

VerQueryvalue: This function is used to obtain information from version resources.

WriteFile writes data to a file

WriteFileEx is similar to WriteFile, but it can only be used for asynchronous write operations and includes a complete callback.

WritePrivateProfileSection sets all item names and values for the section specified in an initialization file (. ini ).

WritePrivateProfileString

WriteProfileSection is a specified section in the Win. ini initialization file.

WriteProfileString: Set a string in the specified section of the Win. ini initialization file.

 

4. Printing functions of Apis

AbortDoc cancels printing of a document

AbortPrinter deletes the buffer file associated with a printer.

AddForm adds a new form to the printer form List

AddJob is used to obtain a valid path name to create a background print file for the job. It also assigns a job number to the job.

AddMonitor adds a printer monitor to the System

AddPort starts the "add Port" dialog box, allowing you to add a new port to the list of available system ports

AddPrinter adds a new printer to the System

AddPrinterConnection connects to the specified printer

AddPrinterDriver adds a print driver for the specified system

AddPrintProcessor adds a print processor to the specified system

AddPrintProvidor adds a printing vendor to the System

AdvancedDocumentProperties Enable Printer document Settings dialog box

ClosePrinter closes an opened printer object

ConfigurePort starts a port configuration dialog box for the specified port.

ConnectToPrinterDlg start the printer connection dialog box and use it to connect to a printer that accesses the network

DeleteForm: delete a form from the list of available printer forms

DeleteMonitor deletes the specified print monitor.

DeletePort starts the "delete port" dialog box, allowing you to delete a port from the current system

DeletePrinter marks the specified printer as deleted from the system

DeletePrinterConnection Delete the connection to the specified printer

DeletePrinterDriver: delete a printer driver from the system.

DeletePrintProcessor deletes a print processor from the specified system

DeletePrintProvidor deletes a printing vendor from the system

DeviceCapabilities use this function to obtain information related to the capabilities of a device.

DocumentProperties printer configuration control function

EndDocAPI ends a successful print job

EndDocPrinter specifies the end of a document at the program level in the background

EndPage uses this function to print a page and prepare a device scenario to print the next page.

EndPagePrinter specifies the end of a page in the print job

EnumForms enumerate the forms available for a printer

EnumJobs enumeration print jobs in the queue

EnumMonitors enumeration available print monitors

EnumPorts

EnumPrinterDrivers enumeration specifies the printer driver installed in the system

Printer installed in EnumPrinters enumeration system

EnumPrintProcessorDatatypes enumerated data types supported by a print processor

EnumPrintProcessors enumeration of available print processors in the system

Escape device Control Function

FindClosePrinterChangeNotification disable a printer notification object obtained using the FindFirstPrinterChangeNotification Function

FindFirstPrinterChangeNotification creates a new change notification object so that we can pay attention to various changes in the printer status.

FindNextPrinterChangeNotification use this function to determine the cause of triggering a printer change notification Signal

Freeprinterpolicyinfo releases a buffer allocated by the FindNextPrinterChangeNotification Function

GetForm obtains information related to the specified form.

GetJob obtains information related to a specified job.

GetPrinter obtains information related to the specified printer.

GetPrinterData sets registry configuration information for the printer

GetPrinterDriver obtains information about the printer driver for the specified printer.

GetPrinterDriverDirectory determines the directory of the specified system containing the printer driver

GetPrintProcessorDirectory determines the directory where the specified system contains the printer processor driver and files

Open the specified printer and obtain the printer handle.

PrinterMessageBox displays a printer error message box on the system with the specified print job

PrinterProperties launch printer Properties dialog box to configure the printer

ReadPrinter reads data from the printer

ResetDC resetting a device scenario

ResetPrinter changes the default data type and document settings of the specified printer

ScheduleJob submit a job to print

SetAbortProc specifies the address for canceling the function for Windows.

SetForm: sets the information for the specified form.

SetJob controls the status of a print job

SetPrinter controls the status of a printer

SetPrinterData: Set the Registry configuration of the printer

StartDoc starts a print job

StartDocPrinter starts a new document at the background printing level

Call this function before you print a new page on StartPage.

StartPagePrinter specifies the start of a new page in the print job.

WritePrinter writes data in the sending directory to the printer

 

5. Text and font functions of Apis

 

AddFontResource adds a Font Resource in Windows

CreateFont creates a logical font with the specified attribute

CreateFontIndirect creates a logical font with the specified attribute

CreateScalableFontResource creates a resource file for a TureType font so that it can be added to Windows using the API function AddFontResource.

DrawText depicts the text in the specified rectangle.

DrawTextEx is similar to DrawText, but more functions are added.

EnumFontFamilies lists available fonts of a specified device

EnumFontFamiliesEx lists available fonts for a specified device

EnumFonts lists available fonts for a specified device

Extended text descriptor function of ExtTextOut. For more information, see SetTextAlign.

GetAspectRatioFilterEx uses SetMapperFlags to require Windows to select a grating font that matches the current aspect ratio of the device. This function can be used to determine the aspect ratio.

GetCharABCWidths determines the A-B-C size of one or more characters in the TureType font

GetCharABCWidthsFloat queries the size of the A-B-C for one or more characters in a font

GetCharacterPlacement this function is used to learn how to display a string with a given character

GetCharWidth investigates the width of one or more characters in the font.

GetFontData receives data from a scalable font file.

GetFontLanguageInfo returns the font information of the specified device scenario.

GetGlyphOutline: obtains the curve information of a character in the TureType font.

GetKerningPairs

GetOutlineTextMetrics receives detailed information related to the internal features of the TureType font.

GetRasterizerCaps: Check whether the system supports scalable fonts.

GetTabbedTextExtent determines the range of a string and considers the factors of tabulation site expansion.

GetTextAlign receives the current text alignment mark for a device scenario

GetTextCharacterExtra determines the current value of the extra Character Spacing

GetTextCharset receives the character set identifier of the font selected for the specified device scenario

GetTextCharsetInfo gets detailed information about the character set of the selected font

GetTextColor determines the current font color. It is also known as "foreground"

GetTextExtentExPoint determines the number of characters in the specified area. It also uses an array to load the range information of each character.

GetTextExtentPoint determines the size (range) of a string)

GetTextFace obtains the name of a font.

GetTextMetrics obtains information related to the physical font selected for a device scenario.

GrayString depicts a gray string. Windows is usually used to identify the prohibited status.

PolyTextOut depicts a series of strings

RemoveFontResource deletes a font resource from Windows.

When SetMapperFlags is used for font ing in Windows, you can use this function to select a grating font that matches the aspect ratio of the target device.

SetTextAlign sets the text alignment mode and specifies the current location of the device scenario used during text output.

When SetTextCharacterExtra depicts text, it specifies the additional spacing to insert between characters

SetTextColor sets the color of the current text. This color is also called "foreground color"

SetTextJustification specifies the extra space occupied by a text line. This function can be used to align the two ends of the text.

TabbedTextOut supports a text plotting function of tabulation sites.

TextOut text plotting function

 

6. menu functions of Apis

 

AppendMenu adds a menu item to the specified menu

CheckMenuItem

CheckMenuRadioItem

CreateMenu create a menu

CreatePopupMenu: Create an empty pop-up menu

DeleteMenu: delete a specified menu entry

DestroyMenu

DrawMenuBar is used to redraw a menu for a specified window.

EnableMenuItem allows or disables specified menu entries

GetMenu: Get the handle of a menu in the window.

GetMenuCheckMarkDimensions returns the size of a menu check mark.

GetMenuContextHelpId obtains the help scenario ID of a menu.

GetMenuDefaultItem determines which item in the menu is the default item

GetMenuItemCount returns the number of entries (menu items) in the menu.

GetMenuItemID: return the menu ID of the entry at the specified position in the menu.

GetMenuItemInfo obtains (receives) specific information related to a menu entry.

GetMenuItemRect loads the screen coordinate information of the specified menu bar in a rectangle

GetMenuState: obtains information about the status of a specified menu entry.

GetMenuString

GetSubMenu gets the handle of a pop-up menu, which is located at the specified position in the menu

GetSystemMenu gets the system menu handle of the specified window

HiliteMenuItem controls the highlighted display status of top-level menu entries

InsertMenu inserts a menu entry at the specified position of the menu, and moves other entries downward as needed

InsertMenuItem Insert a new menu entry

IsMenu determines whether the specified handle is a menu handle

LoadMenu loads a menu from a specified module or application instance

LoadMenuIndirect loads a menu

MenuItemFromPoint: determines which menu entry contains a specified Vertex on the screen.

ModifyMenu

RemoveMenu deletes a specified menu entry

SetMenu

SetMenuContextHelpId: Set the help scenario ID of a menu

SetMenuDefaultItem sets a menu entry as the default entry

SetMenuItemBitmaps sets a specific bitmap so that it can be used in the specified menu entry, instead of the standard checkmark (√)

SetMenuItemInfo sets the specified information for a menu entry

TrackPopupMenu displays a pop-up menu anywhere on the screen

TrackPopupMenuEx is similar to TrackPopupMenu, but it provides additional functions.

 

7. API bitmap, icon, and grating operation functions

BitBlt copies a bitmap from one device scenario to another

CopyIcon makes a copy of the specified icon or mouse pointer. This copy belongs to the application that issued the call.

Copy a bitmap, icon, or pointer, and perform some conversion during the copy process.

CreateBitmap creates a device-related bitmap in the specified format.

CreateBitmapIndirect creates a device-related bitmap.

CreateCompatibleBitmap creates a device-related bitmap that is compatible with specified device scenarios.

CreateCursor creates a mouse pointer

CreateDIBitmap creates a device-related Bitmap Based on a device-independent bitmap.

CreateDIBSection create a DIBSection

CreateIcon creates an icon

CreateIconIndirect creates an icon

DestroyCursor clears the specified mouse pointer and releases all system resources it occupies.

DestroyIcon clear icon

DrawIcon draws an icon at a specified position

DrawIconEx depicts an icon or a mouse pointer. This function provides more functions than DrawIcon.

ExtractAssociatedIcon checks whether an executable program or DLL has an icon, or whether an icon exists and is extracted from the file specified in the system registry.

ExtractIcon checks whether an icon exists in an executable file or DLL and extracts it

GetBitmapBits copies the binary bit from the bitmap to a buffer zone.

GetBitmapDimensionEx obtains the width and height of a bitmap.

GetDIBColorTable obtains the color table information from the DIBSection of the selected device scenario.

GetDIBits copies the binary bits from a bitmap to a device-independent bitmap.

GetIconInfo obtains information about the icon.

GetStretchBltMode: The scaling mode used to judge the functions of StretchBlt and StretchDIBits

LoadBitmap loads a bitmap from a specified module or application instance.

LoadCursor loads a mouse pointer from a specified module or application instance

LoadCursorFromFile creates a pointer based on a pointer file or an animation pointer File

LoadIcon loads an icon from a specified module or application instance

LoadImage loads a bitmap, icon, or pointer.

MaskBlt performs complex image transmission and simultaneously processes masks.

PatBlt fills the specified device scenario with a pattern based on the selected brush

PlgBlt copies a bitmap and converts it into a parallelogram. It allows bitmap rotation.

SetBitmapBits: Copies the binary bit from the buffer to a bitmap.

SetBitmapDimensionEx sets the width of a bitmap. In the unit of 1mm

SetDIBColorTable: sets the color table information of a DIBSection in the device scenario.

SetDIBits copies the binary bits from a device-independent bitmap to a device-related bitmap.

SetDIBitsToDevice copies all or part of data from a device-independent bitmap to a device.

SetStretchBltMode specifies the scaling mode of the StretchBlt and StretchDIBits functions.

StretchBlt copies a bitmap from one device scenario to another

StretchDIBits copies all or part of the device-independent bitmap data to the specified device scenario.

 

8. Plotting functions of Apis

 

AbortPath discards all paths selected for a specified device scenario. Cancel creating any path currently in progress

AngleArc draws a line with a connection arc

Draw an Arc

BeginPath starts a path Branch

CancelDC cancels the long Drawing operation in another thread

Draw a string with Chord

CloseEnhMetaFile disables the specified Enhanced Metafile device scenario, and returns a handle to the newly created Metafile.

When CloseFigure depicts a path, close the currently opened Image

CloseMetaFile disables the specified Metafile device scenario and returns a handle to the newly created Metafile

CopyEnhMetaFile: Create a copy (copy) of the specified enhanced primitive File)

CopyMetaFile: Creates a copy of a specified (standard) Metafile.

CreateBrushIndirect creates a brush based on a LOGBRUSH Data Structure

CreateDIBPatternBrush creates a brush with a device-independent bitmap to specify the brush style (pattern)

CreateEnhMetaFile: Create an Enhanced Metafile device scenario

CreateHatchBrush creates a shadow brush

CreateMetaFile: Create a Metafile device scenario

CreatePatternBrush creates a brush with a bitmap of the specified brush pattern

CreatePen creates a paint brush with the specified style, width, and color

CreatePenIndirect creates a paint brush Based on the specified LOGPEN structure.

CreateSolidBrush create a brush with solid color

DeleteEnhMetaFile: delete a specified Enhanced Metafile.

DeleteMetaFile: delete a specified Metafile

DeleteObject: Delete the GDI object. All system resources used by the object will be released.

DrawEdge depicts the border of a rectangle with the specified Style

The DrawEscape code change function sends data directly to the display device driver.

DrawFocusRect draws a focal rectangle

DrawFrameControl depicts a standard control

DrawState applies a variety of effects to an image or drawing operation

Ellipse depicts an Ellipse surrounded by a specified rectangle

The EndPath stops defining a path.

EnumEnhMetaFile: for an enhanced-type Metafile, it lists individual Metafile records.

EnumMetaFile is a standard windows Metafile enumeration of individual Metafile records

EnumObjects enumeration brushes and brushes that can be used along with a specified device scenario

ExtCreatePen creates an extension paint brush (decoration or ry)

ExtFloodFill fills an area with the selected brush in a specified device scenario

FillPath: close any opened image in the path and fill it with the current brush.

FillRect fills a rectangle with the specified brush

FlattenPath converts all curves in a path into line segments

FloodFill fills an area in the specified device scenario with the selected brush

FrameRect draws a border around a rectangle with the specified brush

GdiComment adds a comment for the specified Enhanced Metafile device scenario

GdiFlush performs any pending drawing operations

GdiGetBatchLimit: determines how many GDI drawing commands are in the queue

GdiSetBatchLimit specifies how many GDI drawing commands can enter the queue

When GetArcDirection draws an arc, it determines the current drawing direction

GetBkColor: obtains the current background color of a specified device scenario.

GetBkMode obtains the current background filling mode for specified device scenarios.

GetBrushOrgEx determines the starting point of the selected brush in a specified device scenario

GetCurrentObject: Get the currently selected object of the specified type

GetCurrentPositionEx obtains the current paint position in the specified device scenario.

GetEnhMetaFile: obtains the metadata file handle of an Enhanced Metafile contained in the disk file.

GetEnhMetaFileBits copies the specified Enhanced Metafile to a memory buffer.

GetEnhMetaFileDescription returns the description of an Enhanced Metafile.

GetEnhMetaFileHeader: obtains the Metafile header of the enhanced primitive file.

GetEnhMetaFilePaletteEntries

GetMetaFile: Get the metadata file handle of the metadata file contained in a disk file

GetMetaFileBitsEx copies the specified Metafile to a memory buffer

GetMiterLimit: Set the slope limit (Miter) for the device scenario.

GetNearestColor obtains a solid color closest to the specified color based on the display capability of the device.

GetObjectAPI gets a structure that describes the specified object

GetObjectType determines the type of the GDI object referenced by the specified handle

GetPath gets a series of data defined for the current path

GetPixel obtains the RGB value of a pixel in a specified device scenario.

GetPolyFillMode obtains the polygon filling mode for specified device scenarios.

GetROP2 obtains the current drawing mode for a specified device scenario

GetStockObject gets an inherent object (Stock)

GetSysColorBrush gets a brush for any standard system color

GetWinMetaFileBits: fills in data for standard graph meta files in a buffer, and converts an enhanced primitive file to a standard windows Metafile

InvertRect reverses the specified rectangle in a device scenario by reversing the value of each pixel.

LineDDA enumeration all vertices in a specified line segment

LineTo draws a line with the current paint brush and connects it from the current position to a specified vertex.

MoveToEx specifies a new current paint position for a specified device scenario

PaintDesk depicts the desktop wallpaper pattern in a specified device scenario

PathToRegion converts the selected path to a region.

Pie draws a Pie chart

PlayEnhMetaFile: draws an Enhanced Metafile in a specified device scenario.

PlayEnhMetaFileRecord playback an enhanced element file record

PlayMetaFile: play back a Metafile in a specified device scenario.

PlayMetaFileRecord: playback of a single record from a Metafile

Polybetiller depicts one or more betiller curves.

PolyDraw depicts a complex curve, which consists of a line segment and a besell curve.

Polygon depicts a Polygon.

Polyline depicts a series of line segments with the current paint brush

PolyPolygon depicts two or more polygon with the selected paint brush

PolyPolyline depicts two or more polygon with the selected paint brush

Rectangle depicts the Rectangle with the selected paint brush and fills it with the selected paint brush

RoundRect draws a rounded rectangle with the selected paint brush and fills it with the selected paint brush.

SelectClipPath combines the current path of the device scenario into the cut area

SelectObject: select a graphical object for the current device scenario

SetArcDirection

SetBkColor sets the background color for the specified device scenario

SetBkMode specifies the fill mode of the shadow brush, dotted brush, and space in characters

SetBrushOrgEx sets the starting point of the selected brush for the specified device scenario

SetEnhMetaFileBits creates an Enhanced Metafile with the data contained in the specified memory buffer.

SetMetaFileBitsEx creates an Metafile with the data structure contained in the specified memory buffer.

SetMiterLimit: sets the current slope limit for a device scenario.

SetPixel sets the RGB value of a pixel in a specified device scenario.

SetPixelV sets the RGB value of a pixel in a specified device scenario.

SetPolyFillMode: Set the polygon filling mode.

SetROP2 sets the drawing mode for the specified device scenario. Consistent with the DrawMode attribute of vb

SetWinMetaFileBits converts a standard Windows Metafile to a reinforced Metafile

StrokeAndFillPath: disables all regions opened in the path for specified device scenarios.

StrokePath depicts the outline of a path with the current paint brush. The opened graph is not disabled by this function.

UnrealizeObject before selecting a paint brush object into a device scenario, if the starting point of the paint brush is to be modified with SetBrushOrgEx, you must call this function first.

WidenPath redefines the selected path based on the width of the selected paint brush.

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.