GtkPlotCSurface
3
GTKEXTRA Library

# 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);

## Description

## 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);

Returns :

### gtk_plot_csurface_new_function ()

    GtkWidget*          gtk_plot_csurface_new_function      (GtkPlotFunc3D function);

`function` :

Returns :

### gtk_plot_csurface_construct_function ()

    void                gtk_plot_csurface_construct_function
                                                            (GtkPlotCSurface *csurface,
                                                             GtkPlotFunc3D function);

`csurface` :

`function` :

### gtk_plot_csurface_set_lines_visible ()

    void                gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
                                                             gboolean visible);

`csurface` :

`visible` :

### gtk_plot_csurface_get_lines_visible ()

    gboolean            gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);

`csurface` :

Returns :

### gtk_plot_csurface_set_projection ()

    void                gtk_plot_csurface_set_projection    (GtkPlotCSurface *csurface,
                                                             GtkPlotProjection proj);

`csurface` :

`proj` :

### gtk_plot_csurface_projection ()

    GtkPlotProjection   gtk_plot_csurface_projection        (GtkPlotCSurface *csurface);

`csurface` :

Returns :

### gtk_plot_csurface_set_levels_attributes ()

    void                gtk_plot_csurface_set_levels_attributes
                                                            (GtkPlotCSurface *data,
                                                             GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *color);

`data` :

`style` :

`width` :

`color` :

### gtk_plot_csurface_set_sublevels_attributes ()

    void                gtk_plot_csurface_set_sublevels_attributes
                                                            (GtkPlotCSurface *data,
                                                             GtkPlotLineStyle style,
                                                             gfloat width,
                                                             const GdkColor *color);

`data` :

`style` :

`width` :

`color` :

### gtk_plot_csurface_get_levels_attributes ()

    void                gtk_plot_csurface_get_levels_attributes
                                                            (GtkPlotCSurface *data,
                                                             GtkPlotLineStyle *style,
                                                             gfloat *width,
                                                             GdkColor *color);

`data` :

`style` :

`width` :

`color` :

### gtk_plot_csurface_get_sublevels_attributes ()

    void                gtk_plot_csurface_get_sublevels_attributes
                                                            (GtkPlotCSurface *data,
                                                             GtkPlotLineStyle *style,
                                                             gfloat *width,
                                                             GdkColor *color);

`data` :

`style` :

`width` :

`color` :