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

One embedded-SVG rasterization, for the batched atlas path. More...

#include "donner/editor/EmbeddedSvgIcon.h"

Public Attributes

ResourceLease svgBytes
 Owns source bytes until this request and any in-flight batch copies retire.
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).

Detailed Description

One embedded-SVG rasterization, for the batched atlas path.

See also
RenderEmbeddedSvgIconBatch

Member Data Documentation

◆ outputSizePx

int donner::editor::EmbeddedSvgIconRequest::outputSizePx = 0

Square output bitmap size in device pixels.

◆ svgBytes

ResourceLease donner::editor::EmbeddedSvgIconRequest::svgBytes

Owns source bytes until this request and any in-flight batch copies retire.

◆ tintableMask

bool donner::editor::EmbeddedSvgIconRequest::tintableMask = true

True to normalize to a tintable white alpha mask (RenderEmbeddedSvgIcon semantics), false to preserve authored colors (RenderEmbeddedSvgArtwork).


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