|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
One retained fill or stroke pass of one shape. More...
#include "donner/svg/renderer/RetainedSpans.h"
Public Member Functions | |
| void | invalidate () |
| Drops the recording, keeping the allocation for the next capture. | |
Public Attributes | |
| tiny_skia::SpanCapture | capture |
| Recorded coverage, plus the paint the recorded draw built its blitter from. Kept across invalidations so a shape that is rebuilt repeatedly settles into allocation-free captures. | |
| RetainedSpanKey | key |
| Inputs capture was recorded under. Only meaningful while valid is true. | |
| bool | valid = false |
| Whether capture holds a replayable recording. | |
One retained fill or stroke pass of one shape.