~ubuntu-branches/debian/sid/genius/sid

« back to all changes in this revision

Viewing changes to gtkextra/gtkplotsurface.h

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2014-04-07 15:43:04 UTC
  • mfrom: (1.2.6)
  • Revision ID: package-import@ubuntu.com-20140407154304-21r03zdnfc571kz0
Tags: 1.0.17-1
* Take over package from pkg-gnome
* New upstream release. Closes: #716731
* Bump standards version.
* Update Vcs fields to Git.
* Move to single-debian-patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "gtkplot.h"
28
28
#include "gtkplotdt.h"
29
29
 
30
 
#define GTK_PLOT_SURFACE(obj)        GTK_CHECK_CAST (obj, gtk_plot_surface_get_type (), GtkPlotSurface)
31
 
#define GTK_TYPE_PLOT_SURFACE        (gtk_plot_surface_get_type ())
32
 
#define GTK_PLOT_SURFACE_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_plot_surface_get_type(), GtkPlotSurfaceClass)
33
 
#define GTK_IS_PLOT_SURFACE(obj)     GTK_CHECK_TYPE (obj, gtk_plot_surface_get_type ())
 
30
#define GTK_PLOT_SURFACE(obj)        G_TYPE_CHECK_INSTANCE_CAST (obj, gtk_plot_surface_get_type (), GtkPlotSurface)
 
31
#define G_TYPE_PLOT_SURFACE        (gtk_plot_surface_get_type ())
 
32
#define GTK_PLOT_SURFACE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gtk_plot_surface_get_type(), GtkPlotSurfaceClass)
 
33
#define GTK_IS_PLOT_SURFACE(obj)     G_TYPE_CHECK_INSTANCE_TYPE (obj, gtk_plot_surface_get_type ())
34
34
 
35
35
typedef struct _GtkPlotPolygon             GtkPlotPolygon;
36
36
typedef struct _GtkPlotSurface             GtkPlotSurface;
37
37
typedef struct _GtkPlotSurfaceClass        GtkPlotSurfaceClass;
38
38
 
 
39
/**
 
40
 * GtkPlotiPolygon:
 
41
 *
 
42
 * The GtkPlotPolygon struct contains only private data.
 
43
 * It should only be accessed through the functions described below.
 
44
 */
39
45
struct _GtkPlotPolygon
40
46
{
41
47
  GtkPlotDTtriangle *t;                 /* parent triangle */
47
53
  gboolean sublevel;
48
54
};
49
55
 
 
56
/**
 
57
 * GtkPlotSurface:
 
58
 *
 
59
 * The GtkPlotSurface struct contains only private data.
 
60
 * It should only be accessed through the functions described below.
 
61
 */
50
62
struct _GtkPlotSurface
51
63
{
52
64
  GtkPlotData data;
88
100
};
89
101
 
90
102
 
91
 
GtkType         gtk_plot_surface_get_type       (void);
 
103
GType           gtk_plot_surface_get_type       (void);
92
104
GtkWidget*      gtk_plot_surface_new            (void);
93
105
GtkWidget*      gtk_plot_surface_new_function   (GtkPlotFunc3D function);
94
106
 
150
162
                                                 gdouble *dy); 
151
163
GtkPlotArray *  gtk_plot_surface_set_dz         (GtkPlotSurface *data,
152
164
                                                 gdouble *dz); 
153
 
gdouble *       gtk_plot_surface_get_x          (GtkPlotSurface *data, 
 
165
gdouble *       gtk_plot_surface_get_x          (GtkPlotSurface *dataset, 
154
166
                                                 gint *nx);
155
 
gdouble *       gtk_plot_surface_get_y          (GtkPlotSurface *data, 
 
167
gdouble *       gtk_plot_surface_get_y          (GtkPlotSurface *dataset, 
156
168
                                                 gint *ny);
157
 
gdouble *       gtk_plot_surface_get_z          (GtkPlotSurface *data,
 
169
gdouble *       gtk_plot_surface_get_z          (GtkPlotSurface *dataset,
158
170
                                                 gint *nx, gint *ny); 
159
 
gdouble *       gtk_plot_surface_get_dx         (GtkPlotSurface *data); 
160
 
gdouble *       gtk_plot_surface_get_dy         (GtkPlotSurface *data); 
161
 
gdouble *       gtk_plot_surface_get_dz         (GtkPlotSurface *data); 
162
 
void            gtk_plot_surface_set_nx         (GtkPlotSurface *data,
 
171
gdouble *       gtk_plot_surface_get_dx         (GtkPlotSurface *dataset); 
 
172
gdouble *       gtk_plot_surface_get_dy         (GtkPlotSurface *dataset); 
 
173
gdouble *       gtk_plot_surface_get_dz         (GtkPlotSurface *dataset); 
 
174
void            gtk_plot_surface_set_nx         (GtkPlotSurface *dataset,
163
175
                                                 gint nx);
164
 
void            gtk_plot_surface_set_ny         (GtkPlotSurface *data,
 
176
void            gtk_plot_surface_set_ny         (GtkPlotSurface *dataset,
165
177
                                                 gint ny);
166
 
gint            gtk_plot_surface_get_nx         (GtkPlotSurface *data);
167
 
gint            gtk_plot_surface_get_ny         (GtkPlotSurface *data);
 
178
gint            gtk_plot_surface_get_nx         (GtkPlotSurface *dataset);
 
179
gint            gtk_plot_surface_get_ny         (GtkPlotSurface *dataset);
168
180
 
169
 
void            gtk_plot_surface_set_xstep      (GtkPlotSurface *data,
 
181
void            gtk_plot_surface_set_xstep      (GtkPlotSurface *dataset,
170
182
                                                 gdouble xstep);
171
 
void            gtk_plot_surface_set_ystep      (GtkPlotSurface *data,
 
183
void            gtk_plot_surface_set_ystep      (GtkPlotSurface *dataset,
172
184
                                                 gdouble ystep);
173
 
gdouble         gtk_plot_surface_get_xstep      (GtkPlotSurface *data);
174
 
gdouble         gtk_plot_surface_get_ystep      (GtkPlotSurface *data);
175
 
void            gtk_plot_surface_build_mesh     (GtkPlotSurface *data);
176
 
void            gtk_plot_surface_recalc_nodes   (GtkPlotSurface *data);
 
185
gdouble         gtk_plot_surface_get_xstep      (GtkPlotSurface *dataset);
 
186
gdouble         gtk_plot_surface_get_ystep      (GtkPlotSurface *dataset);
 
187
void            gtk_plot_surface_build_mesh     (GtkPlotSurface *surface);
 
188
void            gtk_plot_surface_recalc_nodes   (GtkPlotSurface *surface);
177
189
 
178
190
 
179
191
#ifdef __cplusplus