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

Installed only while the child document's write access is held. More...

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

Public Member Functions

 ExternalUseStyleContext (Entity root, const PropertyRegistry &properties, const std::optional< ComputedResourceOpacities > &resourceOpacities, const ResolvedPaintServer &fill, const ResolvedPaintServer &stroke, std::shared_ptr< DocumentResourceFamilyBudget > budget, std::size_t chargedBytes, std::shared_ptr< StyleResourceBudget > work)
 Create an owned parent snapshot after its caller has reserved its dynamic bytes.
 ExternalUseStyleContext (const ExternalUseStyleContext &)=delete
ExternalUseStyleContext & operator= (const ExternalUseStyleContext &)=delete

Public Attributes

bool unsupportedResource = false
 An inherited resource was refused in this occurrence.
Entity root
 Referenced instance root.
ComputedStyleComponent parent
 Host's owned properties and canonical resource values.
ResolvedPaintServer fill
 Host-registry-qualified fill.
ResolvedPaintServer stroke
 Host-registry-qualified stroke.
std::shared_ptr< DocumentResourceFamilyBudget > family
 Shared retained-byte envelope.
std::size_t chargedBytes
 Live charge for the parent snapshot.
std::shared_ptr< StyleResourceBudget > work
 Frame-wide work allowance, never reset by child passes.

Detailed Description

Installed only while the child document's write access is held.


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