NetSurf
plotters.h
Go to the documentation of this file.
1/*
2 * Copyright 2005 James Bursa <bursa@users.sourceforge.net>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * \file
21 * Target independent plotting GTK+ interface.
22 */
23
24#ifndef NETSURF_GTK_PLOTTERS_H
25#define NETSURF_GTK_PLOTTERS_H 1
26
27#include <gtk/gtk.h>
28
29struct plotter_table;
30
31extern const struct plotter_table nsgtk_plotters;
32
33/* make sure this is NULL if no redraw is in progress */
34extern cairo_t *current_cr;
35
37void nsgtk_plot_caret(int x, int y, int h);
38
39#endif /* NETSURF_GTK_PLOTTERS_H */
40
const struct plotter_table nsgtk_plotters
GTK plotter table.
Definition: plotters.c:647
void nsgtk_plot_caret(int x, int y, int h)
Plot a caret.
Definition: plotters.c:278
void nsgtk_set_colour(colour c)
Set cairo context colour to nsgtk colour.
Definition: plotters.c:51
cairo_t * current_cr
Definition: plotters.c:42
Plotter operations table.
Definition: plotters.h:102
uint32_t colour
Colour type: XBGR.
Definition: types.h:35