RptObjLine

RptObjLine — A line object.

Synopsis




                    RptObjLine;
RptObject*          rpt_obj_line_new                    (const gchar *name,
                                                         RptPoint position);
RptObject*          rpt_obj_line_new_from_xml           (xmlNode *xnode);
void                rpt_obj_line_get_xml                (RptObject *rpt_objline,
                                                         xmlNode *xnode);

Object Hierarchy


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

Properties


  "rotation"                 gpointer              : Read / Write
  "size"                     gpointer              : Read / Write
  "stroke"                   gpointer              : Read / Write

Description

Details

RptObjLine

typedef struct _RptObjLine RptObjLine;


rpt_obj_line_new ()

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

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

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

rpt_obj_line_new_from_xml ()

RptObject*          rpt_obj_line_new_from_xml           (xmlNode *xnode);

xnode :
Returns : the newly created RptObject object.

rpt_obj_line_get_xml ()

void                rpt_obj_line_get_xml                (RptObject *rpt_objline,
                                                         xmlNode *xnode);

rpt_objline :
xnode :

Property Details

The "rotation" property

  "rotation"                 gpointer              : Read / Write

The object's rotation.


The "size" property

  "size"                     gpointer              : Read / Write

The object's size.


The "stroke" property

  "stroke"                   gpointer              : Read / Write

The object's stroke.