GtkPlotCSurface
GtkPlotCSurface
|
|
Synopsis
#include <gtkextra.h>
enum GtkPlotProjection;
GtkWidget * gtk_plot_csurface_new (void);
GtkWidget * gtk_plot_csurface_new_function (GtkPlotFunc3D function);
void gtk_plot_csurface_construct_function
(GtkPlotCSurface *csurface,
GtkPlotFunc3D function);
void gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
gboolean visible);
gboolean gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);
void gtk_plot_csurface_set_projection (GtkPlotCSurface *csurface,
GtkPlotProjection proj);
GtkPlotProjection gtk_plot_csurface_projection (GtkPlotCSurface *csurface);
void gtk_plot_csurface_set_levels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
void gtk_plot_csurface_set_sublevels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
void gtk_plot_csurface_get_levels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
void gtk_plot_csurface_get_sublevels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
Details
enum GtkPlotProjection
typedef enum {
GTK_PLOT_PROJECT_NONE, /* draw surface with no projections */
GTK_PLOT_PROJECT_EMPTY, /* draw empty contours -- lines only.
Notice that the style of the lines is given by
levels/sublevels_line. You should set to
GTK_PLOT_LINE_NONE if you don't want the lines
drawn */
GTK_PLOT_PROJECT_FULL, /* draw filled contours */
} GtkPlotProjection;
gtk_plot_csurface_new ()
GtkWidget * gtk_plot_csurface_new (void);
gtk_plot_csurface_new_function ()
GtkWidget * gtk_plot_csurface_new_function (GtkPlotFunc3D function);
gtk_plot_csurface_construct_function ()
void gtk_plot_csurface_construct_function
(GtkPlotCSurface *csurface,
GtkPlotFunc3D function);
gtk_plot_csurface_set_lines_visible ()
void gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
gboolean visible);
gtk_plot_csurface_get_lines_visible ()
gboolean gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);
gtk_plot_csurface_set_projection ()
void gtk_plot_csurface_set_projection (GtkPlotCSurface *csurface,
GtkPlotProjection proj);
gtk_plot_csurface_projection ()
GtkPlotProjection gtk_plot_csurface_projection (GtkPlotCSurface *csurface);
gtk_plot_csurface_set_levels_attributes ()
void gtk_plot_csurface_set_levels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
gtk_plot_csurface_set_sublevels_attributes ()
void gtk_plot_csurface_set_sublevels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle style,
gfloat width,
const GdkColor *color);
gtk_plot_csurface_get_levels_attributes ()
void gtk_plot_csurface_get_levels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);
gtk_plot_csurface_get_sublevels_attributes ()
void gtk_plot_csurface_get_sublevels_attributes
(GtkPlotCSurface *data,
GtkPlotLineStyle *style,
gfloat *width,
GdkColor *color);