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

#include <foreign_object.h>

Public Attributes

std::string family
float size = 16.f
 user units
int weight = 400
 CSS font-weight, 1 to 1000 (400 normal, 700 bold).
bool bold = false
 weight >= 600: for a painter that only knows regular and bold; novasvg sets it with weight
bool italic = false

Detailed Description

Definition at line 27 of file foreign_object.h.

Member Data Documentation

◆ bold

bool nova::svg::foreign_object_font::bold = false

weight >= 600: for a painter that only knows regular and bold; novasvg sets it with weight

Definition at line 31 of file foreign_object.h.

◆ family

std::string nova::svg::foreign_object_font::family

Definition at line 28 of file foreign_object.h.

◆ italic

bool nova::svg::foreign_object_font::italic = false

Definition at line 32 of file foreign_object.h.

◆ size

float nova::svg::foreign_object_font::size = 16.f

user units

Definition at line 29 of file foreign_object.h.

◆ weight

int nova::svg::foreign_object_font::weight = 400

CSS font-weight, 1 to 1000 (400 normal, 700 bold).

Definition at line 30 of file foreign_object.h.


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