Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::PolygonClipPath Struct Reference

A polygon used as a CSS clipping shape. More...

#include "donner/svg/properties/ClipPath.h"

Classes

struct  Vertex
 A vertex relative to the reference box's top-left corner. More...

Public Member Functions

bool operator== (const PolygonClipPath &) const =default

Public Attributes

RadialClipPath::Box box = RadialClipPath::Box::Stroke
 SVG reference geometry.
ClipRule rule = ClipRule::NonZero
 Polygon interior rule.
std::vector< Vertex > vertices
 Bounded, owning vertex list.

Static Public Attributes

static constexpr std::size_t kMaximumVertices = 16 * 1024
 Maximum accepted vertices, matching the SVG point-list resource limit.

Detailed Description

A polygon used as a CSS clipping shape.


The documentation for this struct was generated from the following file: