NetSurf
Functions | Variables
layout_pango.h File Reference

Interface to GTK layout handling using pango. More...

#include <stdbool.h>
Include dependency graph for layout_pango.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror nsfont_paint (int x, int y, const char *string, size_t length, const struct plot_font_style *fstyle)
 
PangoFontDescription * nsfont_style_to_description (const struct plot_font_style *fstyle)
 Convert a plot style to a PangoFontDescription. More...
 

Variables

struct gui_layout_tablensgtk_layout_table
 

Detailed Description

Interface to GTK layout handling using pango.

Definition in file layout_pango.h.

Function Documentation

◆ nsfont_paint()

nserror nsfont_paint ( int  x,
int  y,
const char *  string,
size_t  length,
const struct plot_font_style fstyle 
)

◆ nsfont_style_to_description()

PangoFontDescription * nsfont_style_to_description ( const struct plot_font_style fstyle)

Convert a plot style to a PangoFontDescription.

Parameters
fstyleplot style for this text
Returns
A new Pango font description

Variable Documentation

◆ nsgtk_layout_table

struct gui_layout_table* nsgtk_layout_table
extern

Definition at line 317 of file layout_pango.c.

Referenced by gtk_print_signal_begin_print(), main(), and print_button_clicked_cb().