RptObjRect

RptObjRect — A rectangular object.

Synopsis




                    RptObjRect;
RptObject*          rpt_obj_rect_new                    (const gchar *name,
                                                         RptPoint position);
RptObject*          rpt_obj_rect_new_from_xml           (xmlNode *xnode);
void                rpt_obj_rect_get_xml                (RptObject *rpt_object,
                                                         xmlNode *xnode);

Object Hierarchy


  GObject
   +----RptObject
         +----RptObjLine
               +----RptObjRect
                     +----RptObjEllipse

Properties


  "fill-color"               gpointer              : Read / Write

Description

Details

RptObjRect

typedef struct _RptObjRect RptObjRect;


rpt_obj_rect_new ()

RptObject*          rpt_obj_rect_new                    (const gchar *name,
                                                         RptPoint position);

Creates a new RptObjRect object and sets its position to position.

name : the RptObjRect's name.
position : an RptPoint.
Returns : the newly created RptObject object.

rpt_obj_rect_new_from_xml ()

RptObject*          rpt_obj_rect_new_from_xml           (xmlNode *xnode);

xnode :
Returns : the newly created RptObject object.

rpt_obj_rect_get_xml ()

void                rpt_obj_rect_get_xml                (RptObject *rpt_object,
                                                         xmlNode *xnode);

rpt_object :
xnode :

Property Details

The "fill-color" property

  "fill-color"               gpointer              : Read / Write

The object's fill color.