Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
transforms.h File Reference

Affine transformation classes. More...

Go to the source code of this file.

Classes

struct  Geom::TransformConcept< T >
 Type requirements for transforms. More...
 
class  Geom::TransformOperations< T >
 Base template for transforms. More...
 
class  Geom::Translate
 Translation by a vector. More...
 
class  Geom::Scale
 Scaling from the origin. More...
 
class  Geom::Rotate
 Rotation around the origin. More...
 
class  Geom::ShearBase< S >
 Common base for shearing transforms. More...
 
class  Geom::HShear
 Horizontal shearing. More...
 
class  Geom::VShear
 Vertical shearing. More...
 
class  Geom::Zoom
 Combination of a translation and uniform scale. More...
 

Namespaces

namespace  Geom
 Various utility functions.
 

Functions

template<typename T >
Geom::pow (T const &t, int n)
 Integer exponentiation for transforms.
 
bool Geom::are_near (Translate const &a, Translate const &b, Coord eps=EPSILON)
 
bool Geom::are_near (Scale const &a, Scale const &b, Coord eps=EPSILON)
 
bool Geom::are_near (Rotate const &a, Rotate const &b, Coord eps=EPSILON)
 
bool Geom::are_near (HShear const &a, HShear const &b, Coord eps=EPSILON)
 
bool Geom::are_near (VShear const &a, VShear const &b, Coord eps=EPSILON)
 
bool Geom::are_near (Zoom const &a, Zoom const &b, Coord eps=EPSILON)
 
Affine Geom::reflection (Point const &vector, Point const &origin)
 Reflects objects about line.
 

Detailed Description

Affine transformation classes.

Definition in file transforms.h.