FreeFem  3.5.x
femGraphic.hpp
1 // Emacs will be in -*- Mode: c++ -*-
2 //
3 // ********** DO NOT REMOVE THIS BANNER **********
4 //
5 // SUMMARY: Language for a Finite Element Method
6 // RELEASE: 2.0
7 // USAGE : You may copy freely these files and use it for
8 // teaching or research. These or part of these may
9 // not be sold or used for a commercial purpose with-
10 // out our consent : fax (33)1 44 27 44 11
11 //
12 // AUTHORS: C. Prud'homme
13 // ORG :
14 // E-MAIL : prudhomm@users.sourceforge.net
15 //
16 // ORIG-DATE: June-94
17 // LAST-MOD: 5-Apr-02 at 19:43:58 by Christophe Prud'homme
18 //
19 // DESCRIPTION:
20 /*
21  This program is free software; you can redistribute it and/or modify
22  it under the terms of the GNU General Public License as published by
23  the Free Software Foundation; either version 2 of the License, or
24  (at your option) any later version.
25 
26  This program is distributed in the hope that it will be useful,
27  but WITHOUT ANY WARRANTY; without even the implied warranty of
28  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29  GNU General Public License for more details.
30 
31  You should have received a copy of the GNU General Public License
32  along with this program; if not, write to the Free Software
33  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
34 
35 */
36 
37 // DESCRIP-END.
38 //
39 
40 #ifndef __RGRAPH_H
41 #define __RGRAPH_H
42 
43 namespace fem
44 {
45  void message(char *s);
46  void erreur(char *s);
47  void *safecalloc(long nb, long size);
48  void initgraphique();
49  void closegraphique();
50  void rattente(int waitm, float = 0, float = 0 );
51  void cadre(float xmin,float xmax, float ymin, float ymax);
52  void cadreortho(float centrex, float centrey, float rayon);
53  void couleur(int c);
54  void pointe(float x, float y);
55  void rmoveto(float x, float y);
56  void rlineto(float x, float y);
57  void cercle(float centrex, float centrey, float rayon);
58  void execute(char* s);
59  void safefree(void** f);
60  void reffecran();
61  void raffpoly(int n, float *poly);
62 }
63 #endif /* __RGRAPH_H */

This is the FreeFEM reference manual
Provided by The KFEM project