Version: 3.1.0
wxGraphicsBrush Class Reference

#include <wx/graphics.h>

+ Inheritance diagram for wxGraphicsBrush:

Detailed Description

A wxGraphicsBrush is a native representation of a brush.

The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via wxGraphicsContext::CreateBrush() or wxGraphicsRenderer::CreateBrush().

Library:  wxCore
Category:  Graphics Device Interface (GDI)

Additional Inherited Members

- Public Member Functions inherited from wxGraphicsObject
wxGraphicsRendererGetRenderer () const
 Returns the renderer that was used to create this instance, or NULL if it has not been initialized yet.
 
bool IsNull () const
 
- Protected Member Functions inherited from wxObject
void AllocExclusive ()
 Ensure that this object's data is not shared with any other object.
 
virtual wxObjectRefDataCreateRefData () const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it.
 
virtual wxObjectRefDataCloneRefData (const wxObjectRefData *data) const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying data.
 
- Protected Attributes inherited from wxObject
wxObjectRefDatam_refData
 Pointer to an object which is the object's reference-counted data.