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

A referenced SVG clip or a supported CSS basic shape; absence is represented by the property. More...

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

Public Member Functions

 ClipPath (Reference reference)
 ClipPath (CircleClipPath circle)
 ClipPath (EllipseClipPath ellipse)
 ClipPath (PolygonClipPath polygon)
 ClipPath (InsetClipPath inset)
 ClipPath (PathClipPath path)
 Construct an SVG path shape.
ClipRule clipRule () const
 Return the basic shape's interior rule; references provide their own rules.
bool operator== (const ClipPath &) const =default

Public Attributes

std::variant< Reference, CircleClipPath, EllipseClipPath, PolygonClipPath, InsetClipPath, PathClipPath > value
 Owning parsed value.

Detailed Description

A referenced SVG clip or a supported CSS basic shape; absence is represented by the property.

Constructor & Destructor Documentation

◆ ClipPath()

donner::svg::ClipPath::ClipPath ( PathClipPath path)
inlineexplicit

Construct an SVG path shape.

Parameters
pathParsed path and reference box.

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