Version: 3.0.2
wxGraphicsPen Class Reference

#include <wx/graphics.h>

+ Inheritance diagram for wxGraphicsPen:

Detailed Description

A wxGraphicsPen is a native representation of a pen.

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::CreatePen() or wxGraphicsRenderer::CreatePen().

Library:  wxCore
Category:  Graphics Device Interface (GDI)

Additional Inherited Members

- Public Member Functions inherited from wxGraphicsObject
wxGraphicsRenderer * GetRenderer () 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 wxObjectRefData * CreateRefData () const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it.
 
virtual wxObjectRefData * CloneRefData (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
wxObjectRefData * m_refData
 Pointer to an object which is the object's reference-counted data.