Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
ImageComponent.h File Reference
#include <optional>
#include "donner/base/RcString.h"
#include "donner/svg/resources/ImageResource.h"
Include dependency graph for ImageComponent.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::components::ImageComponent
 Parameters for the "<image>" element. More...
 
struct  donner::svg::components::LoadedImageComponent
 Loaded image resource, created from a ImageComponent. More...
 

Namespaces

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.
 
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.
 

Class Documentation

◆ donner::svg::components::ImageComponent

struct donner::svg::components::ImageComponent

Parameters for the "<image>" element.

Collaboration diagram for donner::svg::components::ImageComponent:
[legend]
Class Members
RcString href URI to the image resource, which can either be a file path, URL, or data URL (e.g. "data:image/png;base64,...").

◆ donner::svg::components::LoadedImageComponent

struct donner::svg::components::LoadedImageComponent

Loaded image resource, created from a ImageComponent.

Class Members
optional< ImageResource > image Loaded image resource.