CGraphicsTransform Struct Reference
[Version 4.0]
Graphics Transform Matrix.
More...
List of all members.
Public Member Functions |
| CGraphicsTransform (double _m11=1., double _m12=0., double _m21=0., double _m22=1., double _dx=0., double _dy=0.) |
void | translate (double x, double y) |
void | scale (double x, double y) |
void | rotate (double angle) |
void | transform (CCoord &x, CCoord &y) |
void | transform (CCoord &left, CCoord &right, CCoord &top, CCoord &bottom) |
CPoint & | transform (CPoint &p) |
CRect & | transform (CRect &r) |
CGraphicsTransform | operator* (const CGraphicsTransform &t) const |
CGraphicsTransform | operator* (const CGraphicsTransform *t) const |
Public Attributes |
double | m11 |
double | m12 |
double | m21 |
double | m22 |
double | dx |
double | dy |
Detailed Description
Graphics Transform Matrix.
Constructor & Destructor Documentation
CGraphicsTransform |
( |
double |
_m11 = 1. , |
|
|
double |
_m12 = 0. , |
|
|
double |
_m21 = 0. , |
|
|
double |
_m22 = 1. , |
|
|
double |
_dx = 0. , |
|
|
double |
_dy = 0. | |
|
) |
| | [inline] |
Member Function Documentation
void rotate |
( |
double |
angle |
) |
|
void scale |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | [inline] |
void translate |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this struct was generated from the following files:
- cgraphicspath.h
- cgraphicspath.cpp