A 3x2 matrix representing an affine 2D transformation.
- Since
- 2.9.2
|
| wxAffineMatrix2D () |
| Default constructor. More...
|
|
void | Get (wxMatrix2D *mat2D, wxPoint2DDouble *tr) const |
| Get the component values of the matrix. More...
|
|
void | Set (const wxMatrix2D &mat2D, const wxPoint2DDouble &tr) |
| Set all elements of this matrix. More...
|
|
void | Concat (const wxAffineMatrix2DBase &t) |
| Concatenate this matrix with another one. More...
|
|
bool | Invert () |
| Invert this matrix. More...
|
|
bool | IsIdentity () const |
| Check if this is the identity matrix. More...
|
|
bool | operator!= (const wxAffineMatrix2DBase &t) const |
| Check that this matrix differs from t. More...
|
|
void | Translate (wxDouble dx, wxDouble dy) |
| Add the translation to this matrix. More...
|
|
void | Scale (wxDouble xScale, wxDouble yScale) |
| Add scaling to this matrix. More...
|
|
void | Mirror (int direction=wxHORIZONTAL) |
| Add mirroring to this matrix. More...
|
|
void | Rotate (wxDouble cRadians) |
| Add clockwise rotation to this matrix. More...
|
|
wxPoint2DDouble | TransformPoint (const wxPoint2DDouble &p) const |
| Applies this matrix to the point. More...
|
|
void | TransformPoint (wxDouble *x, wxDouble *y) const |
|
wxPoint2DDouble | TransformDistance (const wxPoint2DDouble &p) const |
| Applies the linear part of this matrix, i.e. without translation. More...
|
|
void | TransformDistance (wxDouble *dx, wxDouble *dy) const |
|
|
void | IsEqual (const wxAffineMatrix2DBase &t) |
| Check that this matrix is identical with t. More...
|
|
bool | operator== (const wxAffineMatrix2DBase &t) const |
| Check that this matrix is identical with t. More...
|
|
| wxAffineMatrix2DBase () |
| Default constructor. More...
|
|
virtual | ~wxAffineMatrix2DBase () |
|
virtual void | Set (const wxMatrix2D &mat2D, const wxPoint2DDouble &tr)=0 |
| Set all elements of this matrix. More...
|
|
virtual void | Get (wxMatrix2D *mat2D, wxPoint2DDouble *tr) const =0 |
| Get the component values of the matrix. More...
|
|
virtual void | Concat (const wxAffineMatrix2DBase &t)=0 |
| Concatenate this matrix with another one. More...
|
|
virtual bool | Invert ()=0 |
| Invert this matrix. More...
|
|
virtual bool | IsIdentity () const =0 |
| Check if this is the identity matrix. More...
|
|
bool | operator!= (const wxAffineMatrix2DBase &t) const |
| Check that this matrix differs from t. More...
|
|
virtual void | Translate (wxDouble dx, wxDouble dy)=0 |
| Add the translation to this matrix. More...
|
|
virtual void | Scale (wxDouble xScale, wxDouble yScale)=0 |
| Add scaling to this matrix. More...
|
|
virtual void | Rotate (wxDouble cRadians)=0 |
| Add clockwise rotation to this matrix. More...
|
|
void | Mirror (int direction=wxHORIZONTAL) |
| Add mirroring to this matrix. More...
|
|
wxPoint2DDouble | TransformPoint (const wxPoint2DDouble &p) const |
| Applies this matrix to the point. More...
|
|
void | TransformPoint (wxDouble *x, wxDouble *y) const |
|
wxPoint2DDouble | TransformDistance (const wxPoint2DDouble &p) const |
| Applies the linear part of this matrix, i.e. without translation. More...
|
|
void | TransformDistance (wxDouble *dx, wxDouble *dy) const |
|
virtual bool | IsEqual (const wxAffineMatrix2DBase &t) const =0 |
| Check that this matrix is identical with t. More...
|
|
bool | operator== (const wxAffineMatrix2DBase &t) const |
| Check that this matrix is identical with t. More...
|
|