Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::ResolvedClip Struct Reference

Clip stack entry combining rectangles, paths, and optional masks. More...

#include "donner/svg/renderer/RendererInterface.h"

Collaboration diagram for donner::svg::ResolvedClip:
[legend]

Public Member Functions

 ResolvedClip ()=default
 Default constructor.
 ResolvedClip (ResolvedClip &&)=default
 Move constructor.
ResolvedClipoperator= (ResolvedClip &&)=default
 Move assignment operator.
 ResolvedClip (const ResolvedClip &other)
 Deep copy (clones mask chain).
ResolvedClipoperator= (const ResolvedClip &other)
 Deep-copy assignment operator.
bool empty () const
 Returns true if the clip has no rect, paths, or mask.

Public Attributes

std::optional< Box2dclipRect
 Optional axis-aligned clip rectangle.
std::vector< PathShapeclipPaths
 Ordered list of clip path shapes to intersect. Transform applied to all clip paths (e.g., objectBoundingBox unit mapping).
Transform2d clipPathUnitsTransform
 Transform applied to the clip path coordinate system.
std::optional< components::ResolvedMaskmask
 Optional resolved mask reference.

Detailed Description

Clip stack entry combining rectangles, paths, and optional masks.


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