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

Record every catalog face consulted in a layout, including memoized and pending faces. The output survives this manager and can be attached to a stable preview/document task. More...

#include "donner/svg/resources/FontManager.h"

Public Member Functions

 DependencyCapture (FontManager &manager, std::vector< FontFaceDependency > &output)
 Route face dependencies consulted in this scope to caller-owned output.
 DependencyCapture (const DependencyCapture &)=delete
DependencyCapture & operator= (const DependencyCapture &)=delete

Detailed Description

Record every catalog face consulted in a layout, including memoized and pending faces. The output survives this manager and can be attached to a stable preview/document task.

Constructor & Destructor Documentation

◆ DependencyCapture()

donner::svg::FontManager::DependencyCapture::DependencyCapture ( FontManager & manager,
std::vector< FontFaceDependency > & output )

Route face dependencies consulted in this scope to caller-owned output.

Parameters
managerManager whose nested capture target is temporarily replaced.
outputCaller-owned dependency destination that outlives this scope.

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