Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
gxkpolygon.hh File Reference
#include "gxkutils.hh"
Include dependency graph for gxkpolygon.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GxkPolygonLine
 
struct  GxkPolygonArc
 
struct  GxkPolygon
 
struct  GxkPolygonClass
 
struct  GxkPolygonGraph
 

Macros

#define GXK_TYPE_POLYGON
 
#define GXK_POLYGON(object)
 
#define GXK_POLYGON_CLASS(klass)
 
#define GXK_IS_POLYGON(object)
 
#define GXK_IS_POLYGON_CLASS(klass)
 
#define GXK_POLYGON_GET_CLASS(object)
 

Functions

GType gxk_polygon_get_type (void)
 
gpointer gxk_polygon_new (GxkPolygonGraph *polygon_graph)
 
void gxk_polygon_set_lines (GxkPolygon *self, guint n_lines, GxkPolygonLine *lines)
 
void gxk_polygon_set_arcs (GxkPolygon *self, guint n_arcs, GxkPolygonArc *arcs)
 
void gxk_polygon_set_graph (GxkPolygon *self, GxkPolygonGraph *polygon_graph)
 
void gxk_polygon_set_length (GxkPolygon *self, guint length)
 

Variables

GxkPolygonGraph gxk_polygon_power
 
GxkPolygonGraph gxk_polygon_stop
 
GxkPolygonGraph gxk_polygon_pause
 
GxkPolygonGraph gxk_polygon_first
 
GxkPolygonGraph gxk_polygon_previous
 
GxkPolygonGraph gxk_polygon_rewind
 
GxkPolygonGraph gxk_polygon_play
 
GxkPolygonGraph gxk_polygon_forward
 
GxkPolygonGraph gxk_polygon_next
 
GxkPolygonGraph gxk_polygon_last
 

Function Documentation

gpointer gxk_polygon_new ( GxkPolygonGraph polygon_graph)
Parameters
polygon_graphset of lines and arcs

Create a new polygon widget.

Here is the call graph for this function:

void gxk_polygon_set_arcs ( GxkPolygon self,
guint  n_arcs,
GxkPolygonArc arcs 
)
Parameters
selfvalid GxkPolygon
n_arcsnumber of arcs
arcsarray of arcs

Set the arcs for this polygon. The direction of an arc determines it's shadow type.

Referenced by gxk_polygon_set_graph().

Here is the caller graph for this function:

void gxk_polygon_set_graph ( GxkPolygon self,
GxkPolygonGraph polygon_graph 
)
Parameters
selfvalid GxkPolygon
polygon_graphset of lines and arcs

Set the lines and arcs for this polygon, see gxk_polygon_set_lines() and gxk_polygon_set_arcs().

Referenced by gxk_polygon_new().

Here is the call graph for this function:

Here is the caller graph for this function:

void gxk_polygon_set_length ( GxkPolygon self,
guint  length 
)
Parameters
selfvalid GxkPolygon
lengthset of lines and arcs

Set the desired width and height for this polygon to length.

Referenced by gxk_polygon_set_graph().

Here is the call graph for this function:

Here is the caller graph for this function:

void gxk_polygon_set_lines ( GxkPolygon self,
guint  n_lines,
GxkPolygonLine lines 
)
Parameters
selfvalid GxkPolygon
n_linesnumber of lines
linesarray of lines

Set the lines for this polygon. The direction of a line determines it's shadow type.

Referenced by gxk_polygon_set_graph().

Here is the caller graph for this function: