![]() | ![]() | ![]() | Gtk 3d Canvas (libgtk3dcanvas) Reference Manual | ![]() |
---|
#include <gtk-3dcanvas.h> struct Gtk3dcanvasPyramid; Gtk3dcanvasItem* gtk_3dcanvas_pyramid_new (Gtk3dcanvasGroup *parent, char *color, const char *first_arg_name, ...);
"draw-type" Gtk3dcanvasShapeType : Read / Write "phi" gfloat : Read / Write "top-x" gfloat : Read / Write "top-y" gfloat : Read / Write "top-z" gfloat : Read / Write "bottom-x" gfloat : Read / Write "bottom-y" gfloat : Read / Write "bottom-z" gfloat : Read / Write "radius" gfloat : Read / Write "smoothness" gint : Read / Write
The Gtk3dcanvasPyramid is a plain regular pyramid item. See properties below to see how to interact with it.
struct Gtk3dcanvasPyramid;
The fields of the Gtk3dcanvasPyramid are private, and should be accessed only through the properties and functions below.
Gtk3dcanvasItem* gtk_3dcanvas_pyramid_new (Gtk3dcanvasGroup *parent, char *color, const char *first_arg_name, ...);
Make a pyramid item.
parent : | group in which to add the pyramid |
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, "top_x",1, "top_y",1, "top_z",1, NULL |
... : | Rest of this list. |
Returns : | the newly created pyramid. |
<<< Gtk3dcanvasBall | Gtk3dcanvasStick >>> |