KEYTransformation.cpp File Reference
#include <cmath>
#include "KEYTransformation.h"
#include "KEYTypes.h"

Namespaces

 libetonyek
 
 libetonyek::transformations
 Special transformation constructors.
 

Functions

KEYTransformation libetonyek::operator* (const KEYTransformation &left, const KEYTransformation &right)
 Create a new transformation as a composition of two transformations. More...
 
bool libetonyek::operator== (const KEYTransformation &left, const KEYTransformation &right)
 Tests for equality of transformations. More...
 
bool libetonyek::operator!= (const KEYTransformation &left, const KEYTransformation &right)
 Tests for inequality of transformations. More...
 
KEYTransformation libetonyek::makeTransformation (const KEYGeometry &geometry)
 Create a transformation from a geometry. More...
 
KEYTransformation libetonyek::transformations::center (double width, double height)
 Translate to the center of viewport. More...
 
KEYTransformation libetonyek::transformations::origin (double width, double height)
 Translate from the center of viewport to the origin. More...
 
KEYTransformation libetonyek::transformations::flip (bool horizontal, bool vertical)
 Flip horizontally and/or vertically. More...
 
KEYTransformation libetonyek::transformations::rotate (double angle)
 Rotate counterclockwise around origin. More...
 
KEYTransformation libetonyek::transformations::scale (double ratioX, double ratioY)
 Scale along x and/or y axis. More...
 
KEYTransformation libetonyek::transformations::shear (double angleX, double angleY)
 Shear along x and/or y axis. More...
 
KEYTransformation libetonyek::transformations::translate (double offsetX, double offsetY)
 Translate along x and/or y axis. More...
 

Generated for libetonyek by doxygen 1.8.5