1 /*****************************************************************************
2 ** Copyright (C) 1998-2001 Ljubomir Milanovic & Horst Wagner
3 ** This file is part of the g2 library
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.
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.
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
22 #include "g2_physical_device.h"
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,
33 double x3, double y3);
34 void g2_filled_triangle_pd(g2_physical_device *pd,
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,
55 double a1, double a2);
56 void g2_filled_arc_pd(g2_physical_device *pd,
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);
66 #endif /* _G2_GRAPHIC_PD_H */