Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
Inherited by Rapicorn::AffineHFlip, Rapicorn::AffineIdentity, Rapicorn::AffineRotate, Rapicorn::AffineScale, Rapicorn::AffineShear, Rapicorn::AffineTranslate, and Rapicorn::AffineVFlip.
Classes | |
struct | VectorReturn |
Public Member Functions | |
Affine (double cxx=1, double cxy=0, double cxz=0, double cyx=0, double cyy=1, double cyz=0) | |
Affine & | translate (double tx, double ty) |
Affine & | translate (Point p) |
Affine & | set_translation (double tx, double ty) |
Affine & | hflip () |
Affine & | vflip () |
Affine & | rotate (double theta) |
Affine & | rotate (double theta, Point anchor) |
Affine & | scale (double sx, double sy) |
Affine & | shear (double shearx, double sheary) |
Affine & | shear (double theta) |
Affine & | multiply (const Affine &a2) |
Affine & | multiply_swapped (const Affine &a2) |
Point | point (const Point &s) const |
Point | point (double x, double y) const |
double | determinant () const |
double | expansion () const |
double | hexpansion () const |
double | vexpansion () const |
Affine & | invert () |
Point | ipoint (const Point &s) const |
Point | ipoint (double x, double y) const |
Point | operator* (const Point &p) const |
Affine | operator* (const Affine &a2) const |
Affine & | operator= (const Affine &a2) |
bool | is_identity () const |
Affine | create_inverse () const |
bool | operator== (const Affine &oa) const |
bool | operator!= (const Affine &oa) const |
String | string () const |
VectorReturn | x () const |
VectorReturn | y () const |
Static Public Member Functions | |
static Affine | from_triangles (Point src_a, Point src_b, Point src_c, Point dst_a, Point dst_b, Point dst_c) |
Protected Attributes | |
double | xx |
double | xy |
double | xz |
double | yx |
double | yy |
double | yz |