#include <affinetrans.h>
Public Member Functions | |
AffineTrans (double scale=1.0) | |
AffineTrans (const double aff[6]) | |
AffineTrans (const AffineTrans &src) | |
AffineTrans & | operator= (const AffineTrans &src) |
~AffineTrans () | |
double & | operator[] (unsigned int idx) |
const double & | operator[] (unsigned int idx) const |
double * | gobj () |
const double * | gobj () const |
Point | apply_to (const Point &p) const |
Point | operator * (const Point &p) const |
AffineTrans | operator * (const AffineTrans &aff2) |
AffineTrans const & | operator *= (AffineTrans &other) |
bool | operator== (const AffineTrans &other) const |
bool | operator!= (const AffineTrans &other) const |
void | invert () |
void | flip (bool horiz, bool vert) |
bool | rectilinear () const |
double | expansion () const |
Glib::ustring | to_string () const |
Static Public Member Functions | |
AffineTrans | identity () |
AffineTrans | scaling (double s) |
AffineTrans | scaling (double sx, double sy) |
AffineTrans | rotation (double theta) |
AffineTrans | shearing (double theta) |
AffineTrans | translation (double dx, double dy) |
AffineTrans | translation (const Point &p) |
Protected Attributes | |
double | trans_ [6] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|