Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
WhiteSpace.h File Reference
#include <cstdint>
#include <ostream>
Include dependency graph for WhiteSpace.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::WhiteSpace : uint8_t {
  Normal ,
  Pre ,
  Nowrap ,
  PreWrap ,
  BreakSpaces ,
  PreLine
}
 CSS white-space keywords controlling collapsing and line breaking.

Functions

constexpr bool donner::svg::PreservesSpaces (WhiteSpace value)
 Whether spaces and tabs retain their authored widths.
constexpr bool donner::svg::PreservesSegmentBreaks (WhiteSpace value)
 Whether source segment breaks force a new line.
constexpr bool donner::svg::AllowsSoftWrap (WhiteSpace value)
 Whether unforced line breaking is permitted.
std::ostream & donner::svg::operator<< (std::ostream &os, WhiteSpace value)
 Writes the CSS keyword for value.