Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Brush Functions

Windows GDI+ exposes a flat API that consists of about 600 functions, which are implemented in Gdiplus.dll and declared in Gdiplusflat.h. The functions in the GDI+ flat API are wrapped by a collection of about 40 C++ classes. It is recommended that you do not directly call the functions in the flat API. Whenever you make calls to GDI+, you should do so by calling the methods and functions provided by the C++ wrappers. Microsoft Product Support Services will not provide support for code that calls the flat API directly. For more information on using these wrapper methods, see GDI+ Flat API.

The following flat API functions are wrapped by the Brush C++ class.

Brush Functions and Corresponding Wrapper Methods

Flat functionWrapper methodDescription
GpStatus WINGDIPAPI GdipCloneBrush(GpBrush *brush, GpBrush **cloneBrush) Brush::Clone The Brush::Clone method creates a new Brush object based on this brush.
GpStatus WINGDIPAPI GdipDeleteBrush(GpBrush *brush)virtual ~Brush()Cleans up resources used by a Brush object.

GpStatus WINGDIPAPI GdipGetBrushType(GpBrush *brush, GpBrushType *type)

Brush::GetType The Brush::GetType method gets the type of this brush.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.