#include <cstddef>
#include <cstdint>
#include <iosfwd>
#include <optional>
#include <span>
#include <vector>
|
| namespace | donner |
| | Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
|
| namespace | donner::svg |
| | Donner SVG library, which can load, manipulate and render SVG files.
|
◆ donner::svg::GifEncoder::Options
| struct donner::svg::GifEncoder::Options |
| Class Members |
|
optional< Rgb > |
background |
If set, frames are composited over this color and the GIF is fully opaque. If unset, the GIF keeps binary transparency: pixels with alpha below 128 become transparent and the rest keep their color with alpha discarded.
|
|
int |
height = 0 |
Image height in pixels, in [1, 65535]. |
|
uint16_t |
loopCount = 0 |
Number of times to repeat the animation after the first play; 0 loops forever. |
|
size_t |
maximumOutputBytes = kMaximumOutputBytes |
Retained-output limit. Callers may lower the hard limit for a smaller resource envelope; zero or a value above kMaximumOutputBytes is invalid.
|
|
size_t |
maximumWorkspaceBytes = kMaximumWorkspaceBytes |
Encoder-workspace limit. Callers may lower the hard limit for a smaller resource envelope; zero or a value above kMaximumWorkspaceBytes is invalid.
|
|
int |
width = 0 |
Image width in pixels, in [1, 65535]. |