Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
CssTransform.h File Reference
#include <variant>
#include <vector>
#include "donner/base/Length.h"
#include "donner/base/Transform.h"
Include dependency graph for CssTransform.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::svg::CssTransform
 Compared to an SVG transform, CSS transforms have additional features, such as the ability to add units to the translate() function, such as translate(1em 30px). More...
 
struct  donner::svg::CssTransform::Simple
 Stores a precomputed transform. More...
 
struct  donner::svg::CssTransform::Translate
 Stores a deferred translate() operation, which can have two <length-percentage> arguments, such as translate(1em 30px). More...
 

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
 
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
 

Class Documentation

◆ donner::svg::CssTransform::Simple

struct donner::svg::CssTransform::Simple

Stores a precomputed transform.

Collaboration diagram for donner::svg::CssTransform::Simple:
[legend]
Class Members
Transformd transform Transform to apply.

◆ donner::svg::CssTransform::Translate

struct donner::svg::CssTransform::Translate

Stores a deferred translate() operation, which can have two <length-percentage> arguments, such as translate(1em 30px).

Collaboration diagram for donner::svg::CssTransform::Translate:
[legend]
Class Members
Lengthd x X offset.
Lengthd y Y offset.