NetSurf
|
Target independent plotting GTK+ interface. More...
#include <gtk/gtk.h>
Go to the source code of this file.
Functions | |
void | nsgtk_set_colour (colour c) |
Set cairo context colour to nsgtk colour. More... | |
void | nsgtk_plot_caret (int x, int y, int h) |
Plot a caret. More... | |
Variables | |
const struct plotter_table | nsgtk_plotters |
GTK plotter table. More... | |
cairo_t * | current_cr |
Target independent plotting GTK+ interface.
Definition in file plotters.h.
void nsgtk_plot_caret | ( | int | x, |
int | y, | ||
int | h | ||
) |
Plot a caret.
Definition at line 278 of file plotters.c.
References current_cr, nsgtk_set_colour(), and nsgtk_set_solid().
Referenced by nsgtk_window_draw_event().
void nsgtk_set_colour | ( | colour | c | ) |
Set cairo context colour to nsgtk colour.
c | the netsurf colour to set in cairo |
Definition at line 51 of file plotters.c.
References current_cr.
Referenced by nsfont_paint(), nsgtk_plot_arc(), nsgtk_plot_caret(), nsgtk_plot_disc(), nsgtk_plot_line(), nsgtk_plot_path(), nsgtk_plot_polygon(), and nsgtk_plot_rectangle().
|
extern |
Definition at line 42 of file plotters.c.
Referenced by bitmap_render(), nsfont_paint(), nsgtk_cw_draw_event(), nsgtk_plot_arc(), nsgtk_plot_bitmap(), nsgtk_plot_caret(), nsgtk_plot_clip(), nsgtk_plot_disc(), nsgtk_plot_line(), nsgtk_plot_path(), nsgtk_plot_polygon(), nsgtk_plot_rectangle(), nsgtk_set_colour(), nsgtk_set_dashed(), nsgtk_set_dotted(), nsgtk_set_line_width(), nsgtk_set_solid(), and nsgtk_window_draw_event().
|
extern |
GTK plotter table.
Definition at line 647 of file plotters.c.
Referenced by bitmap_render(), nsgtk_cookies_draw(), nsgtk_global_history_draw(), nsgtk_hotlist_draw(), nsgtk_local_history_draw(), nsgtk_pi_draw(), and nsgtk_window_draw_event().