![]() | ![]() | ![]() | Gtk 3d Canvas (libgtk3dcanvas) Reference Manual | ![]() |
---|
#include <gtk-3dcanvas.h> struct Gtk3dcanvasStick; Gtk3dcanvasItem* gtk_3dcanvas_stick_new (Gtk3dcanvasGroup *parent, char *color, const char *first_arg_name, ...);
"begin-x" gfloat : Read / Write "begin-y" gfloat : Read / Write "begin-z" gfloat : Read / Write "end-x" gfloat : Read / Write "end-y" gfloat : Read / Write "end-z" gfloat : Read / Write "phi" gfloat : Read / Write "draw-type" Gtk3dcanvasShapeType : Read / Write "radius" gfloat : Read / Write "smoothness" gint : Read / Write
The Gtk3dcanvasStick is a plain regular stick item. See properties below to see how to interact with it.
struct Gtk3dcanvasStick;
The fields of the Gtk3dcanvasStick are private, and should be accessed only through the properties and functions below.
Gtk3dcanvasItem* gtk_3dcanvas_stick_new (Gtk3dcanvasGroup *parent, char *color, const char *first_arg_name, ...);
Make a stick item.
parent : | group in which to add the stick |
color : | the color of the stick. |
first_arg_name : | A list of object argument name/value pairs, NULL-terminated, used to configure the stick. For example: "type",STICK_TYPE_CYLINDER, "begin_x",1, "begin_y",1, "begin_z",1, NULL |
... : | Rest of this list. |
Returns : | the newly created stick. |
<<< Gtk3dcanvasPyramid | Gtk3dcanvasGroup >>> |