2 * Grace - GRaphing, Advanced Computation and Exploration of data
4 * Home page: http://plasma-gate.weizmann.ac.il/Grace/
6 * Copyright (c) 1996-2002 Grace Development Team
8 * Maintained by Evgeny Stambulchik
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.
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
);