circle

circle

Synopsis


#include <ccc.h>


                    CcCircle;
                    CcCircleClass;
GType               cc_circle_get_type                  (void);
CcItem*             cc_circle_new                       (void);
void                cc_circle_set_anchor                (CcCircle *self,
                                                         gdouble x,
                                                         gdouble y);
void                cc_circle_set_radius                (CcCircle *self,
                                                         gdouble radius);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----CcItem
               +----CcShape
                     +----CcCircle

Implemented Interfaces

CcCircle implements CcItemView.

Properties


  "anchor"                   gpointer              : 
  "radius"                   gdouble               : Read / Write

Description

Details

CcCircle

typedef struct _CcCircle CcCircle;


CcCircleClass

typedef struct {
	CcShapeClass base_class;
} CcCircleClass;


cc_circle_get_type ()

GType               cc_circle_get_type                  (void);

Returns :

cc_circle_new ()

CcItem*             cc_circle_new                       (void);

Returns :

cc_circle_set_anchor ()

void                cc_circle_set_anchor                (CcCircle *self,
                                                         gdouble x,
                                                         gdouble y);

self :
x :
y :

cc_circle_set_radius ()

void                cc_circle_set_radius                (CcCircle *self,
                                                         gdouble radius);

Specifies the radius of the circle.

self : a CcCircle
radius : the new radius

Property Details

The "anchor" property

  "anchor"                   gpointer              : 

The center of the circle.


The "radius" property

  "radius"                   gdouble               : Read / Write

Radius.

Allowed values: >= 0

Default value: 0