A wxGraphicsMatrix is a native representation of an affine matrix.
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::CreateMatrix() or wxGraphicsRenderer::CreateMatrix().
|
virtual void | Concat (const wxGraphicsMatrix *t) |
| Concatenates the matrix passed with the current matrix.
|
|
void | Concat (const wxGraphicsMatrix &t) |
| Concatenates the matrix passed with the current matrix.
|
|
virtual void | Get (wxDouble *a=NULL, wxDouble *b=NULL, wxDouble *c=NULL, wxDouble *d=NULL, wxDouble *tx=NULL, wxDouble *ty=NULL) const |
| Returns the component values of the matrix via the argument pointers.
|
|
virtual void * | GetNativeMatrix () const |
| Returns the native representation of the matrix.
|
|
virtual void | Invert () |
| Inverts the matrix.
|
|
virtual bool | IsEqual (const wxGraphicsMatrix *t) const |
| Returns true if the elements of the transformation matrix are equal.
|
|
bool | IsEqual (const wxGraphicsMatrix &t) const |
| Returns true if the elements of the transformation matrix are equal.
|
|
virtual bool | IsIdentity () const |
| Return true if this is the identity matrix.
|
|
virtual void | Rotate (wxDouble angle) |
| Rotates this matrix clockwise (in radians).
|
|
virtual void | Scale (wxDouble xScale, wxDouble yScale) |
| Scales this matrix.
|
|
virtual void | Set (wxDouble a=1.0, wxDouble b=0.0, wxDouble c=0.0, wxDouble d=1.0, wxDouble tx=0.0, wxDouble ty=0.0) |
| Sets the matrix to the respective values (default values are the identity matrix).
|
|
virtual void | TransformDistance (wxDouble *dx, wxDouble *dy) const |
| Applies this matrix to a distance (ie.
|
|
virtual void | TransformPoint (wxDouble *x, wxDouble *y) const |
| Applies this matrix to a point.
|
|
virtual void | Translate (wxDouble dx, wxDouble dy) |
| Translates this matrix.
|
|
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 |
|
| wxObject () |
| Default ctor; initializes to NULL the internal reference data.
|
|
| wxObject (const wxObject &other) |
| Copy ctor.
|
|
virtual | ~wxObject () |
| Destructor.
|
|
virtual wxClassInfo * | GetClassInfo () const |
| This virtual function is redefined for every class that requires run-time type information, when using the wxDECLARE_CLASS macro (or similar).
|
|
wxObjectRefData * | GetRefData () const |
| Returns the wxObject::m_refData pointer, i.e. the data referenced by this object.
|
|
bool | IsKindOf (const wxClassInfo *info) const |
| Determines whether this class is a subclass of (or the same class as) the given class.
|
|
bool | IsSameAs (const wxObject &obj) const |
| Returns true if this object has the same data pointer as obj.
|
|
void | Ref (const wxObject &clone) |
| Makes this object refer to the data in clone.
|
|
void | SetRefData (wxObjectRefData *data) |
| Sets the wxObject::m_refData pointer.
|
|
void | UnRef () |
| Decrements the reference count in the associated data, and if it is zero, deletes the data.
|
|
void | UnShare () |
| This is the same of AllocExclusive() but this method is public.
|
|
void | operator delete (void *buf) |
| The delete operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined.
|
|
void * | operator new (size_t size, const wxString &filename=NULL, int lineNum=0) |
| The new operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined.
|
|