Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
GeodeFillVariants.h File Reference

Number of fill and stroke encode variants an entity keeps, shared by the CPU encode cache and the GPU residence so neither header has to include the other. More...

#include <cstddef>
Include dependency graph for GeodeFillVariants.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Variables

constexpr std::size_t donner::geode::kGeodeFillVariantCount = 2
 Number of fill encodes an entity keeps, one per device-derived tolerance bucket. See GeodePathCacheComponent::FillVariant; GeodeResidentPathSlots keeps one resident fill slot per variant.
constexpr std::size_t donner::geode::kGeodeStrokeVariantCount = 8
 Number of stroke outlines an entity keeps, one per stroke key (stroke style, device-derived flattening tolerance, and host-space transform). See GeodePathCacheComponent::StrokeVariant; GeodeResidentPathSlots keeps resident stroke slots per variant.

Detailed Description

Number of fill and stroke encode variants an entity keeps, shared by the CPU encode cache and the GPU residence so neither header has to include the other.