VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGraphicsTransform Struct Reference

Graphics Transform Matrix. More...

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)
 
CPointtransform (CPoint &p)
 
CRecttransform (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

+ Here is the caller graph for this function:

Member Function Documentation

CGraphicsTransform operator* ( const CGraphicsTransform t) const
inline
CGraphicsTransform operator* ( const CGraphicsTransform t) const
inline
void rotate ( double  angle)

+ Here is the call graph for this function:

void scale ( double  x,
double  y 
)
inline

+ Here is the call graph for this function:

void transform ( CCoord x,
CCoord y 
)
inline

+ Here is the caller graph for this function:

void transform ( CCoord left,
CCoord right,
CCoord top,
CCoord bottom 
)
inline

+ Here is the call graph for this function:

CPoint& transform ( CPoint p)
inline

+ Here is the call graph for this function:

CRect& transform ( CRect r)
inline

+ Here is the call graph for this function:

void translate ( double  x,
double  y 
)
inline

+ Here is the call graph for this function:

Member Data Documentation

double dx
double dy
double m11
double m12
double m21
double m22

The documentation for this struct was generated from the following files: