Donner SVG main
0.8.0 ยท 64d9612f0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
ClipPath.h File Reference
#include <array>
#include <cstddef>
#include <ostream>
#include <span>
#include <utility>
#include <variant>
#include <vector>
#include "donner/base/Length.h"
#include "donner/base/ParseResult.h"
#include "donner/base/Path.h"
#include "donner/css/ComponentValue.h"
#include "donner/svg/core/ClipRule.h"
#include "donner/svg/graph/Reference.h"
Include dependency graph for ClipPath.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::RadialClipPath
 Shared reference box and center for radial CSS clipping shapes. More...
struct  donner::svg::RadialClipPath::Position
 One position coordinate, measured from the near or far edge of its reference box. More...
struct  donner::svg::CircleClipPath
 A circle used as a CSS clipping shape. More...
struct  donner::svg::EllipseClipPath
 An ellipse used as a CSS clipping shape, with independently resolved axis radii. More...
struct  donner::svg::PolygonClipPath
 A polygon used as a CSS clipping shape. More...
struct  donner::svg::PolygonClipPath::Vertex
 A vertex relative to the reference box's top-left corner. More...
struct  donner::svg::InsetClipPath
 An inset rectangle with optional elliptical corners used as a CSS clipping shape. More...
struct  donner::svg::PathClipPath
 A CSS path clipping shape with parsed, owned SVG geometry. More...
struct  donner::svg::ClipPath
 A referenced SVG clip or a supported CSS basic shape; absence is represented by the property. 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.

Functions

std::ostream & donner::svg::operator<< (std::ostream &os, const ClipPath &clip)
 Print a parsed clip-path value for diagnostics.
ParseResult< ClipPath > donner::svg::ParseBasicShapeClipPath (std::span< const css::ComponentValue > components, bool allowUserUnits)
 Parse a supported basic clipping shape and its optional reference box.