ASPiK SDK
|
Graphics Transform Matrix. More...
#include <cgraphicstransform.h>
Public Member Functions | |
CGraphicsTransform (double _m11, double _m12, double _m21, double _m22, double _dx, double _dy) | |
CGraphicsTransform & | translate (double x, double y) |
CGraphicsTransform & | translate (const CPoint &p) |
CGraphicsTransform & | scale (double x, double y) |
CGraphicsTransform & | scale (const CPoint &p) |
CGraphicsTransform & | rotate (double angle) |
CGraphicsTransform & | rotate (double angle, const CPoint ¢er) |
CGraphicsTransform & | skewX (double angle) |
CGraphicsTransform & | skewY (double angle) |
bool | isInvariant () const |
void | transform (CCoord &x, CCoord &y) const |
void | transform (CCoord &left, CCoord &right, CCoord &top, CCoord &bottom) const |
CPoint & | transform (CPoint &p) const |
CRect & | transform (CRect &r) const |
CGraphicsTransform | inverse () const |
CGraphicsTransform | operator* (const CGraphicsTransform &t) const |
CGraphicsTransform | operator* (const CGraphicsTransform *t) const |
bool | operator== (const CGraphicsTransform &t) const |
bool | operator!= (const CGraphicsTransform &t) const |
Public Attributes | |
double | m11 {1.} |
double | m12 {0.} |
double | m21 {0.} |
double | m22 {1.} |
double | dx {0.} |
double | dy {0.} |
Graphics Transform Matrix.