NovaSVG 0.11.5
An SVG library
Loading...
Searching...
No Matches
nova::svg::foreign_object_context Struct Reference

#include <foreign_object.h>

Collaboration diagram for nova::svg::foreign_object_context:

Public Attributes

std::string_view markup
 untouched, as in the source
vg::box box
 the foreignObject's x, y, width, height
foreign_object_font font
 inherited through the svg cascade
float device_scale = 1.f
 device pixels per user unit (the larger axis), for renderers that rasterize
const void * prepared = nullptr
 what prepare() returned for this element

Detailed Description

Definition at line 95 of file foreign_object.h.

Member Data Documentation

◆ box

vg::box nova::svg::foreign_object_context::box

the foreignObject's x, y, width, height

Definition at line 97 of file foreign_object.h.

◆ device_scale

float nova::svg::foreign_object_context::device_scale = 1.f

device pixels per user unit (the larger axis), for renderers that rasterize

Definition at line 99 of file foreign_object.h.

◆ font

foreign_object_font nova::svg::foreign_object_context::font

inherited through the svg cascade

Definition at line 98 of file foreign_object.h.

◆ markup

std::string_view nova::svg::foreign_object_context::markup

untouched, as in the source

Definition at line 96 of file foreign_object.h.

◆ prepared

const void* nova::svg::foreign_object_context::prepared = nullptr

what prepare() returned for this element

Definition at line 100 of file foreign_object.h.


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