![]() |
![]() |
![]() |
Gwyddion Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTable +----GwyVectorShade
typedef struct _GwyVectorShade GwyVectorShade;
GwyVectorShade
is deprecated and should not be used in newly-written code.
typedef struct { GtkTableClass parent_class; void (*vector_shade)(GwyVectorShade *vector_shade); gpointer reserved1; gpointer reserved2; } GwyVectorShadeClass;
GwyVectorShadeClass
is deprecated and should not be used in newly-written code.
GtkWidget* gwy_vector_shade_new (GwySphereCoords *sphere_coords);
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. |
GtkWidget* gwy_vector_shade_get_grad_sphere (GwyVectorShade *vector_shade);
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. |
GwySphereCoords* gwy_vector_shade_get_sphere_coords (GwyVectorShade *vector_shade);
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. |
void gwy_vector_shade_set_sphere_coords (GwyVectorShade *vector_shade, GwySphereCoords *sphere_coords);
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. |