GwyVectorShade

GwyVectorShade — Gradient spehre with coordinates

Synopsis




            GwyVectorShade;
            GwyVectorShadeClass;
GtkWidget*  gwy_vector_shade_new            (GwySphereCoords *sphere_coords);
GtkWidget*  gwy_vector_shade_get_grad_sphere
                                            (GwyVectorShade *vector_shade);
GwySphereCoords* gwy_vector_shade_get_sphere_coords
                                            (GwyVectorShade *vector_shade);
void        gwy_vector_shade_set_sphere_coords
                                            (GwyVectorShade *vector_shade,
                                             GwySphereCoords *sphere_coords);

Object Hierarchy


  GObject
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkTable
                           +----GwyVectorShade

Implemented Interfaces

GwyVectorShade implements AtkImplementorIface.

Description

Details

GwyVectorShade

typedef struct _GwyVectorShade GwyVectorShade;

Warning

GwyVectorShade is deprecated and should not be used in newly-written code.


GwyVectorShadeClass

typedef struct {
    GtkTableClass parent_class;
    void (*vector_shade)(GwyVectorShade *vector_shade);

    gpointer reserved1;
    gpointer reserved2;
} GwyVectorShadeClass;

Warning

GwyVectorShadeClass is deprecated and should not be used in newly-written code.


gwy_vector_shade_new ()

GtkWidget*  gwy_vector_shade_new            (GwySphereCoords *sphere_coords);

Warning

gwy_vector_shade_new is deprecated and should not be used in newly-written code.

Creates a new GwyVectorShade.

sphere_coords can be NULL, new spherical coordinates are allocated then.

sphere_coords : The spherical coordinates this GwyVectorShade should use.
Returns : The new vector shade as a GtkWidget.

gwy_vector_shade_get_grad_sphere ()

GtkWidget*  gwy_vector_shade_get_grad_sphere
                                            (GwyVectorShade *vector_shade);

Warning

gwy_vector_shade_get_grad_sphere is deprecated and should not be used in newly-written code.

Returns the gradient sphere widget this vector shade uses.

vector_shade : a GwyVectorShade.
Returns : The gradient sphere as a GtkWidget.

gwy_vector_shade_get_sphere_coords ()

GwySphereCoords* gwy_vector_shade_get_sphere_coords
                                            (GwyVectorShade *vector_shade);

Warning

gwy_vector_shade_get_sphere_coords is deprecated and should not be used in newly-written code.

Returns the spherical coordinates this vector shade uses.

vector_shade : a GwyVectorShade.
Returns : The coordinates.

gwy_vector_shade_set_sphere_coords ()

void        gwy_vector_shade_set_sphere_coords
                                            (GwyVectorShade *vector_shade,
                                             GwySphereCoords *sphere_coords);

Warning

gwy_vector_shade_set_sphere_coords is deprecated and should not be used in newly-written code.

Sets spherical coordinates for a vector shade.

vector_shade : a GwyVectorShade.
sphere_coords : the spherical coordinates this vector shade should use.