affine v0.1.0 API Reference
Modules
This library performs affine transforms for multiple dimensions. The implementation is simple in this initial version allowing for translation, scaling, shear and rotation
Module enclosing the high level transform creating capabilities
Generating 2D graphics, either for charting, design or other reasons, can require reassignment of a space on the drawing canvas for a part of the graphic. For instance, creating the x-axis in a chart that goes for 0-21 for the data in the area from pixel 143 to pixel 200 on the drawing canvas can use a transform to easily convert from data space to canvas space
The Operations module simply defines the multiply and transform functions in the Matrix library for convienence. Additionally, aliases are provided using ‘t’ for ‘transform’ and ‘m’ for ‘multiply’
This module defines all the basic transforms. These include translate, scale, and rotation for 1, 2 or 3 dimensions