Gtk3dcanvasPyramid

Name

Gtk3dcanvasPyramid -- A pyramid item.

Synopsis


#include <gtk-3dcanvas.h>


struct      Gtk3dcanvasPyramid;
Gtk3dcanvasItem* gtk_3dcanvas_pyramid_new   (Gtk3dcanvasGroup *parent,
                                             char *color,
                                             const char *first_arg_name,
                                             ...);

Object Hierarchy


  GObject
   +----GtkObject
         +----Gtk3dcanvasItem
               +----Gtk3dcanvasPyramid

Properties


  "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

Description

The Gtk3dcanvasPyramid is a plain regular pyramid item. See properties below to see how to interact with it.

Details

struct Gtk3dcanvasPyramid

struct Gtk3dcanvasPyramid;

The fields of the Gtk3dcanvasPyramid are private, and should be accessed only through the properties and functions below.


gtk_3dcanvas_pyramid_new ()

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.

Properties

"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)