|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
One embedded-SVG rasterization, for the batched atlas path. More...
#include "donner/editor/EmbeddedSvgIcon.h"
Public Attributes | |
| std::span< const unsigned char > | svgBytes |
| Embedded SVG source bytes. Must point at storage that outlives the call and, for PrewarmEmbeddedSvgIcons, the cached entry - embedded resource arrays qualify. | |
| int | outputSizePx = 0 |
| Square output bitmap size in device pixels. | |
| bool | tintableMask = true |
| True to normalize to a tintable white alpha mask (RenderEmbeddedSvgIcon semantics), false to preserve authored colors (RenderEmbeddedSvgArtwork). | |
One embedded-SVG rasterization, for the batched atlas path.
| int donner::editor::EmbeddedSvgIconRequest::outputSizePx = 0 |
Square output bitmap size in device pixels.
| std::span<const unsigned char> donner::editor::EmbeddedSvgIconRequest::svgBytes |
Embedded SVG source bytes. Must point at storage that outlives the call and, for PrewarmEmbeddedSvgIcons, the cached entry - embedded resource arrays qualify.
| bool donner::editor::EmbeddedSvgIconRequest::tintableMask = true |
True to normalize to a tintable white alpha mask (RenderEmbeddedSvgIcon semantics), false to preserve authored colors (RenderEmbeddedSvgArtwork).