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

Keep mutable document storage active throughout preparation, drawing and restoration. More...

#include "donner/svg/components/style/StyleSystem.h"

Public Member Functions

 ActiveRegistryScope (StyleResourceBudget &budget, Registry &registry)
 Mark a registry active without removing an enclosing scope's registration.
 ActiveRegistryScope (const ActiveRegistryScope &)=delete
ActiveRegistryScope & operator= (const ActiveRegistryScope &)=delete

Detailed Description

Keep mutable document storage active throughout preparation, drawing and restoration.

Constructor & Destructor Documentation

◆ ActiveRegistryScope()

donner::svg::components::StyleResourceBudget::ActiveRegistryScope::ActiveRegistryScope ( StyleResourceBudget & budget,
Registry & registry )

Mark a registry active without removing an enclosing scope's registration.

Parameters
budgetShared traversal identity context.
registryMutable storage protected by the caller's document access.

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