WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / RNAforester / g2-0.70 / src / g2_graphic_pd.h
1 /*****************************************************************************
2 **  Copyright (C) 1998-2001  Ljubomir Milanovic & Horst Wagner
3 **  This file is part of the g2 library
4 **
5 **  This library is free software; you can redistribute it and/or
6 **  modify it under the terms of the GNU Lesser General Public
7 **  License as published by the Free Software Foundation; either
8 **  version 2.1 of the License, or (at your option) any later version.
9 **
10 **  This library 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 GNU
13 **  Lesser General Public License for more details.
14 **
15 **  You should have received a copy of the GNU Lesser General Public
16 **  License along with this library; if not, write to the Free Software
17 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 ******************************************************************************/
19 #ifndef _G2_GRAPHIC_PD_H
20 #define _G2_GRAPHIC_PD_H
21
22 #include "g2_physical_device.h"
23 #include "g2_funix.h"
24
25
26 void g2_plot_pd(g2_physical_device *pd, double x, double y);
27 void g2_line_pd(g2_physical_device *pd,
28                 double x1, double y1, double x2, double y2);
29 void g2_poly_line_pd(g2_physical_device *pd, int N, double *points);
30 void g2_triangle_pd(g2_physical_device *pd,
31                     double x1, double y1,
32                     double x2, double y2,
33                     double x3, double y3);
34 void g2_filled_triangle_pd(g2_physical_device *pd,
35                            double x1, double y1,
36                            double x2, double y2,
37                            double x3, double y3);
38 void g2_rectangle_pd(g2_physical_device *pd,
39                      double x1, double y1, double x2, double y2);
40 void g2_filled_rectangle_pd(g2_physical_device *pd,
41                             double x1, double y1, double x2, double y2);
42 void g2_polygon_pd(g2_physical_device *pd, int N, double *points);
43 void g2_filled_polygon_pd(g2_physical_device *pd, int N, double *points);
44 void g2_ellipse_pd(g2_physical_device *pd,
45                    double x, double y, double r1, double r2);
46 void g2_filled_ellipse_pd(g2_physical_device *pd,
47                           double x, double y, double r1, double r2);
48 void g2_circle_pd(g2_physical_device *pd,
49                   double x, double y, double r);
50 void g2_filled_circle_pd(g2_physical_device *pd,
51                          double x, double y, double r);
52 void g2_arc_pd(g2_physical_device *pd,
53                double x, double y,
54                double r1, double r2,
55                double a1, double a2);
56 void g2_filled_arc_pd(g2_physical_device *pd,
57                       double x, double y,
58                       double r1, double r2,
59                       double a1, double a2);
60 void g2_string_pd(g2_physical_device *pd,
61                   double x, double y, const char *text);
62 void g2_image_pd(g2_physical_device *pd,
63                  double x, double y, int x_size, int y_size, int *pens);
64
65
66 #endif /* _G2_GRAPHIC_PD_H */