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