Special transformation constructors. More...
| Functions | |
| glm::dmat3 | center (double width, double height) | 
| Translate to the center of viewport.  More... | |
| glm::dmat3 | origin (double width, double height) | 
| Translate from the center of viewport to the origin.  More... | |
| glm::dmat3 | flip (bool horizontal, bool vertical) | 
| Flip horizontally and/or vertically.  More... | |
| glm::dmat3 | rotate (double angle) | 
| Rotate counterclockwise around origin.  More... | |
| glm::dmat3 | scale (double ratioX, double ratioY) | 
| Scale along xand/oryaxis.  More... | |
| glm::dmat3 | shear (double angleX, double angleY) | 
| Shear along xand/oryaxis.  More... | |
| glm::dmat3 | translate (double offsetX, double offsetY) | 
| Translate along xand/oryaxis.  More... | |
Special transformation constructors.
| glm::dmat3 libetonyek::transformations::center | ( | double | width, | 
| double | height | ||
| ) | 
Translate to the center of viewport.
Referenced by libetonyek::makeTransformation().
| glm::dmat3 libetonyek::transformations::flip | ( | bool | horizontal, | 
| bool | vertical | ||
| ) | 
Flip horizontally and/or vertically.
Referenced by libetonyek::makeArrowPath(), libetonyek::makeDoubleArrowPath(), and libetonyek::makeTransformation().
| glm::dmat3 libetonyek::transformations::origin | ( | double | width, | 
| double | height | ||
| ) | 
Translate from the center of viewport to the origin.
This is inverse operation to center().
Referenced by libetonyek::makeTransformation().
| glm::dmat3 libetonyek::transformations::rotate | ( | double | angle | ) | 
Rotate counterclockwise around origin.
x axis on the right side. Referenced by libetonyek::makeStarPath(), and libetonyek::makeTransformation().
| glm::dmat3 libetonyek::transformations::scale | ( | double | ratioX, | 
| double | ratioY | ||
| ) | 
Scale along x and/or y axis. 
x axis. y axis. Referenced by flip(), and libetonyek::IWAParser::parseDrawableShape().
| glm::dmat3 libetonyek::transformations::shear | ( | double | angleX, | 
| double | angleY | ||
| ) | 
Shear along x and/or y axis. 
x axis. y axis. Referenced by libetonyek::makeTransformation().
| glm::dmat3 libetonyek::transformations::translate | ( | double | offsetX, | 
| double | offsetY | ||
| ) | 
Translate along x and/or y axis. 
x axis. y axis. Referenced by center(), libetonyek::makeArrowPath(), libetonyek::makeCalloutPath(), libetonyek::makeDoubleArrowPath(), libetonyek::makePolygonPath(), libetonyek::makeRoundedRectanglePath(), libetonyek::makeStarPath(), libetonyek::makeTransformation(), and origin().