|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
CPU-side Slug band decomposition: converts a Path into GPU-ready band data. More...
#include <array>#include <cstddef>#include <cstdint>#include <limits>#include <span>#include <vector>#include "donner/base/Box.h"#include "donner/base/Vector2.h"Classes | |
| struct | donner::geode::EncodedPath |
| GPU-ready encoded path data produced by the Slug band decomposition algorithm. More... | |
| struct | donner::geode::EncodedPath::Curve |
| A quadratic Bézier curve segment (3 control points) stored as floats for GPU consumption. More... | |
| struct | donner::geode::EncodedPath::Band |
| Compact metadata for one band. Layout matches the WGSL Band struct exactly. More... | |
| struct | donner::geode::EncodedPath::AxisStats |
| Per-axis encode statistics retained with the path for diagnostics and perf tests. More... | |
| struct | donner::geode::EncodedPath::EncodingStats |
| Output-neutral instrumentation for the CPU encoding result. More... | |
| struct | donner::geode::EncodedPath::BoundingPoint |
| One path-space vertex in the convex bounding polygon. More... | |
| class | donner::geode::GeodePathEncoder |
| Encodes a Path into Slug band decomposition format for GPU rendering. More... | |
| struct | donner::geode::GeodePathEncoder::Limits |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
CPU-side Slug band decomposition: converts a Path into GPU-ready band data.
| struct donner::geode::EncodedPath::Curve |
| struct donner::geode::EncodedPath::Band |
Compact metadata for one band. Layout matches the WGSL Band struct exactly.
| Class Members | ||
|---|---|---|
| uint32_t | curveCount | Number of curve references in the band. |
| uint32_t | curveStart | First entry in the axis's curve-reference array. |
| struct donner::geode::EncodedPath::AxisStats |
Per-axis encode statistics retained with the path for diagnostics and perf tests.
| struct donner::geode::EncodedPath::EncodingStats |
| struct donner::geode::EncodedPath::BoundingPoint |