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. | |
A polygon used as a CSS clipping shape.