Donner 0.5.0
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
FontVariant.h File Reference

Defines the donner::svg::FontVariant enum for the font-variant CSS property. More...

#include <cstdint>
#include <ostream>
#include "donner/base/Utils.h"
Include dependency graph for FontVariant.h:
This graph shows which files directly or indirectly include this file:

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.

Enumerations

enum class  donner::svg::FontVariant : uint8_t {
  donner::svg::Normal ,
  donner::svg::SmallCaps
}
 The parsed result of the font-variant shorthand property (SVG 1.1 subset). More...

Functions

std::ostream & donner::svg::operator<< (std::ostream &os, FontVariant value)
 Ostream output operator for FontVariant enum, outputs the CSS value.

Detailed Description

Defines the donner::svg::FontVariant enum for the font-variant CSS property.

This covers the SVG 1.1 shorthand values (normal / small-caps). Full CSS Fonts Level 4 sub-properties (font-variant-numeric, etc.) are not yet supported.