Reset parser in grace_set_project().
[grace.git] / src / mfdrv.h
bloba7e2b4d987dc6c4598f8665b1389bdd04516a55d
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 #define GMF_VERSION "0.10"
32 int mf_initgraphics(const Canvas *canvas, void *data,
33 const CanvasStats *cstats);
35 void mf_drawpixel(const Canvas *canvas, void *data, const VPoint *vp);
36 void mf_drawpolyline(const Canvas *canvas, void *data,
37 const VPoint *vps, int n, int mode);
38 void mf_fillpolygon(const Canvas *canvas, void *data,
39 const VPoint *vps, int nc);
40 void mf_drawarc(const Canvas *canvas, void *data,
41 const VPoint *vp1, const VPoint *vp2, double a1, double a2);
42 void mf_fillarc(const Canvas *canvas, void *data,
43 const VPoint *vp1, const VPoint *vp2, double a1, double a2, int mode);
44 void mf_putpixmap(const Canvas *canvas, void *data,
45 const VPoint *vp, const CPixmap *pm);
46 void mf_puttext(const Canvas *canvas, void *data,
47 const VPoint *vp, const char *s, int len, int font, const TextMatrix *tm,
48 int underline, int overline, int kerning);
50 void mf_leavegraphics(const Canvas *canvas, void *data,
51 const CanvasStats *cstats);