NetSurf
|
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... | |
Font style for plotting.
Definition at line 111 of file plot_style.h.
colour plot_font_style::background |
Background colour to blend to, if appropriate.
Definition at line 122 of file plot_style.h.
Referenced by box_textarea_create_textarea(), fb_text_font_style(), font_plot_style_from_css(), html_redraw_file(), html_redraw_text_box(), layout_block_context(), local_history_init(), nsfont_paint(), page_info_init(), ro_plot_text(), svg_redraw_internal(), text(), text_draw(), text_redraw(), textarea_redraw(), textarea_set_layout(), textarea_set_text_style(), textplain_redraw(), toolbar_create(), treeview__create_textarea(), and treeview_init_plot_styles().
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().
plot_font_generic_family_t plot_font_style::family |
Generic family to plot with.
Definition at line 118 of file plot_style.h.
Referenced by ami_font_bm_open(), ami_open_outline_font(), box_textarea_create_textarea(), fb_fill_scalar(), fb_text_font_style(), font_plot_style_from_css(), get_font(), nsbeos_style_to_font(), nsfont_read_style(), nsfont_style_to_description(), and treeview_init_plot_styles().
plot_font_flags_t plot_font_style::flags |
Font flags.
Definition at line 121 of file plot_style.h.
Referenced by ami_font_bm_open(), ami_font_unicode_width(), ami_open_outline_font(), amiga_nsfont_text(), fb_fill_scalar(), fb_get_font_style(), fb_text_font_style(), font_plot_style_from_css(), get_font(), nsbeos_style_to_font(), nsfont_read_style(), nsfont_style_to_description(), and treeview_init_plot_styles().
colour plot_font_style::foreground |
Colour of text.
Definition at line 123 of file plot_style.h.
Referenced by ami_text(), box_textarea_create_textarea(), fb_text_font_style(), font_plot_style_from_css(), framebuffer_plot_text(), gtk_print_font_paint(), local_history_init(), nsfont_paint(), page_info_init(), ro_plot_text(), svg_redraw_internal(), text(), text_draw(), text_redraw(), textarea_set_layout(), textarea_set_text_style(), toolbar_create(), treeview__create_textarea(), treeview_init_furniture(), and treeview_init_plot_styles().
plot_style_fixed plot_font_style::size |
Font size, in pt.
Definition at line 119 of file plot_style.h.
Referenced by ami_font_bm_open(), ami_font_unicode_width(), ami_open_outline_font(), amiga_nsfont_position_in_string(), amiga_nsfont_split(), amiga_nsfont_text(), atari_font_position(), atari_font_split(), atari_font_width(), fb_fill_scalar(), fb_get_font_size(), fb_text_font_style(), font_plot_style_from_css(), form_open_select_menu(), form_redraw_select_menu(), get_font(), nsbeos_style_to_font(), nsfont_position_in_string(), nsfont_read_style(), nsfont_split(), nsfont_style_to_description(), nsfont_width(), page_info__measure_text_entry(), plot_text(), svg_redraw_internal(), text_draw(), text_redraw(), textarea_create(), textarea_redraw(), textarea_setup_text_offsets(), textplain_create_internal(), textplain_line_height(), toolbar_create(), and treeview_init_plot_styles().
int plot_font_style::weight |
Font weight: value in range [100,900] as per CSS.
Definition at line 120 of file plot_style.h.
Referenced by ami_font_bm_open(), ami_open_outline_font(), fb_fill_scalar(), fb_get_font_style(), fb_text_font_style(), font_plot_style_from_css(), get_font(), nsbeos_style_to_font(), nsfont_read_style(), nsfont_style_to_description(), and treeview_init_plot_styles().