| GtkExtra2 Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#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);
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;
GtkWidget* gtk_plot_csurface_new_function (GtkPlotFunc3D function);
|
|
Returns : |
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);
|
|
Returns : |
void gtk_plot_csurface_set_projection (GtkPlotCSurface *csurface,
GtkPlotProjection proj);
|
|
|
GtkPlotProjection gtk_plot_csurface_projection (GtkPlotCSurface *csurface);
|
|
Returns : |
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);
|
|
|
|
|
|
|