IWORKTransformation.cpp File Reference documentation

Namespaces | Functions
IWORKTransformation.cpp File Reference
`#include "IWORKTransformation.h"`
`#include <cmath>`
`#include "IWORKTypes.h"`

## Namespaces
| libetonyek
| libetonyek::transformations
| Special transformation constructors.

## Functions
glm::dmat3 | libetonyek::makeTransformation (const IWORKGeometry &geometry)
| Create a transformation from a geometry. More...
glm::dmat3 | libetonyek::transformations::center (double width, double height)
| Translate to the center of viewport. More...
glm::dmat3 | libetonyek::transformations::origin (double width, double height)
| Translate from the center of viewport to the origin. More...
glm::dmat3 | libetonyek::transformations::flip (bool horizontal, bool vertical)
| Flip horizontally and/or vertically. More...
glm::dmat3 | libetonyek::transformations::rotate (double angle)
| Rotate counterclockwise around origin. More...
glm::dmat3 | libetonyek::transformations::scale (double ratioX, double ratioY)
| Scale along `x` and/or `y` axis. More...
glm::dmat3 | libetonyek::transformations::shear (double angleX, double angleY)
| Shear along `x` and/or `y` axis. More...
glm::dmat3 | libetonyek::transformations::translate (double offsetX, double offsetY)
| Translate along `x` and/or `y` axis. More...