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

Auxiliary preparation may compute geometry, but cannot consume the canvas renderer's dirty obligations. Hold under the document write guard; restore only identities still alive. More...

#include "donner/svg/components/ScopedRenderInvalidationRestore.h"

Public Member Functions

 ScopedRenderInvalidationRestore (Registry &registry)
 Save dirty flags and render-tree state for auxiliary geometry preparation.
 ScopedRenderInvalidationRestore (const ScopedRenderInvalidationRestore &)=delete
ScopedRenderInvalidationRestore & operator= (const ScopedRenderInvalidationRestore &)=delete

Detailed Description

Auxiliary preparation may compute geometry, but cannot consume the canvas renderer's dirty obligations. Hold under the document write guard; restore only identities still alive.

Constructor & Destructor Documentation

◆ ScopedRenderInvalidationRestore()

donner::svg::components::ScopedRenderInvalidationRestore::ScopedRenderInvalidationRestore ( Registry & registry)
inlineexplicit

Save dirty flags and render-tree state for auxiliary geometry preparation.

Parameters
registryDocument registry whose invalidation state will be restored.

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