![]() | ![]() | ![]() | Gwyddion Widgets Library Reference Manual | ![]() |
---|
GwyVectorShade — Gradient spehre with coordinates
struct GwyVectorShade; 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 +----GtkObject +----GtkWidget +----GtkContainer +----GtkTable +----GwyVectorShade
GwyVectorShade implements AtkImplementorIface.
GtkWidget* gwy_vector_shade_new (GwySphereCoords *sphere_coords);
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);
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);
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);
Sets spherical coordinates for a vector shade.
vector_shade: | a GwyVectorShade. |
sphere_coords: | the spherical coordinates this vector shade should use. |
<< Shader | GwyGradSphere >> |