NetSurf
Data Fields
plot_font_style Struct Reference

Font style for plotting. More...

#include <plot_style.h>

Data Fields

lwc_string *const * families
 Array of pointers to font families. More...
 
plot_font_generic_family_t family
 Generic family to plot with. More...
 
plot_style_fixed size
 Font size, in pt. More...
 
int weight
 Font weight: value in range [100,900] as per CSS. More...
 
plot_font_flags_t flags
 Font flags. More...
 
colour background
 Background colour to blend to, if appropriate. More...
 
colour foreground
 Colour of text. More...
 

Detailed Description

Font style for plotting.

Definition at line 111 of file plot_style.h.

Field Documentation

◆ background

colour plot_font_style::background

◆ families

lwc_string* const* plot_font_style::families

Array of pointers to font families.

May be NULL. Array is NULL terminated.

Definition at line 117 of file plot_style.h.

Referenced by font_plot_style_from_css().

◆ family

plot_font_generic_family_t plot_font_style::family

◆ flags

plot_font_flags_t plot_font_style::flags

◆ foreground

colour plot_font_style::foreground

◆ size

plot_style_fixed plot_font_style::size

◆ weight

int plot_font_style::weight

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