Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::components::LoadedImageComponent Struct Reference

Loaded raster image resource, created from a ImageComponent when the href references a raster image (PNG, JPEG, GIF). More...

#include "donner/svg/components/resources/ImageComponent.h"

Public Member Functions

 LoadedImageComponent (ImageResource loadedImage)
std::uint64_t revision () const
 Monotonic identity for the current decoded image payload.
void markImageModified ()
 Mark a direct mutation of the decoded image payload.

Public Attributes

std::optional< ImageResourceimage
 Loaded image resource.

Detailed Description

Loaded raster image resource, created from a ImageComponent when the href references a raster image (PNG, JPEG, GIF).


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