- Main Page
- Modules
- Files
- Related Pages

# g2_graphic_pd.h

    00001 /*****************************************************************************
    00002 **  Copyright (C) 1998-2001  Ljubomir Milanovic & Horst Wagner
    00003 **  This file is part of the g2 library
    00004 **
    00005 **  This library is free software; you can redistribute it and/or
    00006 **  modify it under the terms of the GNU Lesser General Public
    00007 **  License as published by the Free Software Foundation; either
    00008 **  version 2.1 of the License, or (at your option) any later version.
    00009 **
    00010 **  This library is distributed in the hope that it will be useful,
    00011 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00013 **  Lesser General Public License for more details.
    00014 **
    00015 **  You should have received a copy of the GNU Lesser General Public
    00016 **  License along with this library; if not, write to the Free Software
    00017 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00018 ******************************************************************************/
    00019 #ifndef _G2_GRAPHIC_PD_H
    00020 #define _G2_GRAPHIC_PD_H
    00021
    00022 #include "g2_physical_device.h"
    00023 #include "g2_funix.h"
    00024
    00025
    00026 void g2_plot_pd(g2_physical_device *pd, double x, double y);
    00027 void g2_line_pd(g2_physical_device *pd,
    00028                 double x1, double y1, double x2, double y2);
    00029 void g2_poly_line_pd(g2_physical_device *pd, int N, double *points);
    00030 void g2_triangle_pd(g2_physical_device *pd,
    00031                     double x1, double y1,
    00032                     double x2, double y2,
    00033                     double x3, double y3);
    00034 void g2_filled_triangle_pd(g2_physical_device *pd,
    00035                            double x1, double y1,
    00036                            double x2, double y2,
    00037                            double x3, double y3);
    00038 void g2_rectangle_pd(g2_physical_device *pd,
    00039                      double x1, double y1, double x2, double y2);
    00040 void g2_filled_rectangle_pd(g2_physical_device *pd,
    00041                             double x1, double y1, double x2, double y2);
    00042 void g2_polygon_pd(g2_physical_device *pd, int N, double *points);
    00043 void g2_filled_polygon_pd(g2_physical_device *pd, int N, double *points);
    00044 void g2_ellipse_pd(g2_physical_device *pd,
    00045                    double x, double y, double r1, double r2);
    00046 void g2_filled_ellipse_pd(g2_physical_device *pd,
    00047                           double x, double y, double r1, double r2);
    00048 void g2_circle_pd(g2_physical_device *pd,
    00049                   double x, double y, double r);
    00050 void g2_filled_circle_pd(g2_physical_device *pd,
    00051                          double x, double y, double r);
    00052 void g2_arc_pd(g2_physical_device *pd,
    00053                double x, double y,
    00054                double r1, double r2,
    00055                double a1, double a2);
    00056 void g2_filled_arc_pd(g2_physical_device *pd,
    00057                       double x, double y,
    00058                       double r1, double r2,
    00059                       double a1, double a2);
    00060 void g2_string_pd(g2_physical_device *pd,
    00061                   double x, double y, const char *text);
    00062 void g2_image_pd(g2_physical_device *pd,
    00063                  double x, double y, int x_size, int y_size, int *pens);
    00064
    00065
    00066 #endif /* _G2_GRAPHIC_PD_H */