1
/* gtkplotps - postscript driver
2
* Copyright 1999-2001 Adrian E. Feiguin <feiguin@ifir.edu.ar>
4
* Some few lines of code borrowed from
5
* DiaCanvas -- a technical canvas widget
6
* Copyright (C) 1999 Arjan Molenaar
7
* Dia -- an diagram creation/manipulation program
8
* Copyright (C) 1998 Alexander Larsson
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Library General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Library General Public License for more details.
20
* You should have received a copy of the GNU Library General Public
21
* License along with this library; if not, write to the
22
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23
* Boston, MA 02111-1307, USA.
26
#ifndef __GTK_PLOT_PS_H__
27
#define __GTK_PLOT_PS_H__
32
#endif /* __cplusplus */
34
#define GTK_PLOT_PS(obj) GTK_CHECK_CAST (obj, gtk_plot_ps_get_type (), GtkPlotPS)
35
#define GTK_TYPE_PLOT_PS (gtk_plot_ps_get_type ())
37
#define GTK_PLOT_PS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_plot_ps_get_type(), GtkPlotPSClass)
38
#define GTK_IS_PLOT_PS(obj) GTK_CHECK_TYPE (obj, gtk_plot_ps_get_type ())
41
typedef struct _GtkPlotPS GtkPlotPS;
42
typedef struct _GtkPlotPSClass GtkPlotPSClass;
61
gdouble scalex, scaley;
66
struct _GtkPlotPSClass
68
GtkPlotPCClass parent_class;
71
GtkType gtk_plot_ps_get_type (void);
72
GtkObject *gtk_plot_ps_new (const gchar *psname,
79
GtkObject *gtk_plot_ps_new_with_size (const gchar *psname,
88
void gtk_plot_ps_construct (GtkPlotPS *ps,
95
void gtk_plot_ps_construct_with_size (GtkPlotPS *ps,
105
void gtk_plot_ps_set_size (GtkPlotPS *ps,
110
void gtk_plot_ps_set_scale (GtkPlotPS *ps,
117
#endif /* __cplusplus */
120
#endif /* __GTK_PLOT_PS_H__ */