Some menu shuffling.
[grace.git] / src / svgdrv.h
blob88d6b66d7215aa4fe099beb63e44ab319168521e
1 /*
2 * Grace - GRaphing, Advanced Computation and Exploration of data
3 *
4 * Home page: http://plasma-gate.weizmann.ac.il/Grace/
5 *
6 * Copyright (c) 1996-2002 Grace Development Team
7 *
8 * Maintained by Evgeny Stambulchik
9 *
11 * All Rights Reserved
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #include "defines.h"
30 int svg_initgraphics(const Canvas *canvas, void *data,
31 const CanvasStats *cstats);
33 void svg_drawpixel(const Canvas *canvas, void *data,
34 const VPoint *vp);
35 void svg_drawpolyline(const Canvas *canvas, void *data,
36 const VPoint *vps, int n, int mode);
37 void svg_fillpolygon(const Canvas *canvas, void *data,
38 const VPoint *vps, int nc);
39 void svg_drawarc(const Canvas *canvas, void *data,
40 const VPoint *vp1, const VPoint *vp2, double a1, double a2);
41 void svg_fillarc(const Canvas *canvas, void *data,
42 const VPoint *vp1, const VPoint *vp2, double a1, double a2, int mode);
43 void svg_putpixmap(const Canvas *canvas, void *data,
44 const VPoint *vp, const CPixmap *pm);
45 void svg_puttext(const Canvas *canvas, void *data,
46 const VPoint *vp, const char *s, int len, int font, const TextMatrix *tm,
47 int underline, int overline, int kerning);
49 void svg_leavegraphics(const Canvas *canvas, void *data,
50 const CanvasStats *cstats);