|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
One SVG source queued for bounded, low-priority rendering on the existing render worker. More...
#include "donner/editor/AsyncRenderer.h"
Public Attributes | |
| AuxiliaryPreviewKind | kind = AuxiliaryPreviewKind::Sample |
| std::uint64_t | key = 0 |
| Caller-defined key copied into the result (the sample-catalog index in EditorShell). | |
| std::string | source |
| Complete SVG source. The request owns its copy until the worker finishes parsing it. | |
| Vector2i | dimensions = Vector2i::Zero() |
| Output bitmap dimensions in device pixels. | |
| svg::RendererInterface * | nativeRenderer = nullptr |
| Root renderer used to create the worker-local offscreen on native builds. | |
One SVG source queued for bounded, low-priority rendering on the existing render worker.
| Vector2i donner::editor::SampleThumbnailRenderRequest::dimensions = Vector2i::Zero() |
Output bitmap dimensions in device pixels.
| std::uint64_t donner::editor::SampleThumbnailRenderRequest::key = 0 |
Caller-defined key copied into the result (the sample-catalog index in EditorShell).
| AuxiliaryPreviewKind donner::editor::SampleThumbnailRenderRequest::kind = AuxiliaryPreviewKind::Sample |
| svg::RendererInterface* donner::editor::SampleThumbnailRenderRequest::nativeRenderer = nullptr |
Root renderer used to create the worker-local offscreen on native builds.
Browser builds ignore this pointer and reuse the renderer already owned by their worker. The native caller must keep it alive until the result is polled or the renderer is destroyed.
| std::string donner::editor::SampleThumbnailRenderRequest::source |
Complete SVG source. The request owns its copy until the worker finishes parsing it.