Ordered function list for managing the transform attribute.
More...
#include <svg.hpp>
|
|
| TransformList (std::string &value, const Element *owner=nullptr) |
|
| TransformList (const std::string &value, const Element *owner=nullptr) |
| TransformList & | append (const std::string &transform) |
| TransformList & | set (const std::string &transform) |
| TransformList & | clear () |
|
TransformList & | matrix (double a, double b, double c, double d, double e, double f) |
|
TransformList & | translate (double x) |
|
TransformList & | translate (double x, double y) |
|
TransformList & | scale (double factor) |
|
TransformList & | scale (double x, double y) |
|
TransformList & | rotate (double degrees) |
|
TransformList & | rotate (double degrees, double cx, double cy) |
| TransformList & | rotate_about_bbox (double degrees, Anchor x_anchor, Anchor y_anchor) |
|
TransformList & | skew_x (double degrees) |
|
TransformList & | skew_y (double degrees) |
| std::string | str () const |
Ordered function list for managing the transform attribute.
◆ append()
| TransformList & SVG::TransformList::append |
( |
const std::string & | transform | ) |
|
|
inline |
Append a raw transform function or function list
◆ clear()
| TransformList & SVG::TransformList::clear |
( |
| ) |
|
|
inline |
◆ rotate_about_bbox()
| TransformList & SVG::TransformList::rotate_about_bbox |
( |
double | degrees, |
|
|
Anchor | x_anchor, |
|
|
Anchor | y_anchor ) |
|
inline |
Append rotate(degrees cx cy) using an owning element's measured layout bbox.
◆ set()
| TransformList & SVG::TransformList::set |
( |
const std::string & | transform | ) |
|
|
inline |
Replace the transform attribute
◆ str()
| std::string SVG::TransformList::str |
( |
| ) |
const |
|
inline |
Return the current transform text
The documentation for this class was generated from the following file: