#include <genesis/utils/formats/svg/attributes.hpp>
Definition at line 238 of file attributes.hpp.
|
struct | Matrix |
|
struct | Rotate |
|
struct | Scale |
|
struct | SkewX |
|
struct | SkewY |
|
class | Transformation |
| Internal helper class used as an abstraction to be able to store Transformations without need for inheritance and virtual functions within the different transformation types. More...
|
|
struct | Translate |
|
◆ SvgTransform() [1/3]
◆ ~SvgTransform()
◆ SvgTransform() [2/3]
◆ SvgTransform() [3/3]
◆ append() [1/2]
◆ append() [2/2]
◆ apply() [1/2]
Apply all transformations to a box, and return the new transformed coordinates.
As our implmentation is not a full svg renderer, we cheat here and just transform the corners of the box. That means, with rotations etc, there could be parts of an object where this model fails us. Note that we transform all four corners, and hence compute a box that is too large under rotations.
Still, this is good enough for our puposes of determining the rough outlines of objects, so that we can scale the document around them.
Definition at line 374 of file attributes.cpp.
◆ apply() [2/2]
Apply all transformations to a point, and return the new transformed coordinate.
Definition at line 363 of file attributes.cpp.
◆ clear()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ write()
void write |
( |
std::ostream & |
out | ) |
const |
◆ self_type
◆ transformations
The documentation for this struct was generated from the following files: