GXK Interface Reference

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h

SYNOPSIS

DESCRIPTION

GxkPolygon

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:42
struct GxkPolygon
{
  GtkWidget       parent_instance;
  guint           n_lines;
  GxkPolygonLine *lines;
  guint           n_arcs;
  GxkPolygonArc  *arcs;
  guint           request_length;
};

GxkPolygonArc

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:38
struct GxkPolygonArc
{
  gfloat        xc;
  gfloat        yc;
  gfloat        xr;
  gfloat        yr;
  gfloat        sa;
  gfloat        ea;
  GtkShadowType draw_type;
};

GxkPolygonClass

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:50
struct GxkPolygonClass
{
  GtkWidgetClass parent_class;
};

GxkPolygonGraph

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:53
struct GxkPolygonGraph
{
  guint           n_lines;
  GxkPolygonLine *lines;
  guint           n_arcs;
  GxkPolygonArc  *arcs;
  guint           length;
};

GxkPolygonLine

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:34
struct GxkPolygonLine
{
  gfloat        x1;
  gfloat        y1;
  gfloat        x2;
  gfloat        y2;
  GtkShadowType draw_type;
};

gxk_polygon_get_type

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:63

gxk_polygon_new

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:64
gpointer  gxk_polygon_new 
(GxkPolygonGraph *polygon_graph);
Create a new polygon widget.
polygon_graph: set of lines and arcs

gxk_polygon_set_arcs

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:70
void  gxk_polygon_set_arcs 
(GxkPolygon    *self,
 guint          n_arcs,
 GxkPolygonArc *arcs);
Set the arcs for this polygon. The direction of an arc determines it's shadow type.
self: valid GxkPolygon
n_arcs: number of arcs
arcs: array of arcs

gxk_polygon_set_graph

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:72
void  gxk_polygon_set_graph 
(GxkPolygon      *self,
 GxkPolygonGraph *polygon_graph);
Set the lines and arcs for this polygon, see gxk_polygon_set_lines() and gxk_polygon_set_arcs().
self: valid GxkPolygon
polygon_graph: set of lines and arcs

gxk_polygon_set_length

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:74
void  gxk_polygon_set_length 
(GxkPolygon *self,
 guint       length);
Set the desired width and height for this polygon to length.
self: valid GxkPolygon
length: set of lines and arcs

gxk_polygon_set_lines

/opt/src/beast/beast-gtk/gxk/gxkpolygon.h:67
void  gxk_polygon_set_lines 
(GxkPolygon     *self,
 guint           n_lines,
 GxkPolygonLine *lines);
Set the lines for this polygon. The direction of a line determines it's shadow type.
self: valid GxkPolygon
n_lines: number of lines
lines: array of lines