Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
Length.h File Reference
Include dependency graph for Length.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::Length< T >
 Parses a CSS <length-percentage> type as defined by https://www.w3.org/TR/css-values-3/#typedef-length-percentage. More...
 

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
 

Typedefs

typedef Length< double > donner::Lengthd
 Shorthand for Length<double>.
 

Enumerations

enum class  donner::LengthUnit {
  donner::None ,
  donner::Percent ,
  donner::_ABSOLUTE ,
  donner::Cm ,
  donner::Mm ,
  donner::Q ,
  donner::In ,
  donner::Pc ,
  donner::Pt ,
  donner::Px ,
  donner::_RELATIVE ,
  donner::Em ,
  donner::Ex ,
  donner::Ch ,
  donner::Rem ,
  donner::Vw ,
  donner::Vh ,
  donner::Vmin ,
  donner::Vmax
}
 The unit identifier for a length, corresponding to CSS unit identifiers. More...
 

Functions

std::ostream & donner::operator<< (std::ostream &os, LengthUnit unit)
 OStream output operator, writes the enum value as a stream, e.g. Percent or Px.