![]() |
![]() |
![]() |
LibRepTool Reference Manual | ![]() |
---|---|---|---|---|
RptObjText; RptObject* rpt_obj_text_new (const gchar *name, RptPoint position); RptObject* rpt_obj_text_new_from_xml (xmlNode *xnode); void rpt_obj_text_get_xml (RptObject *rpt_objtext, xmlNode *xnode);
"align" gpointer : Read / Write "background-color" gpointer : Read / Write "border" gpointer : Read / Write "font" gpointer : Read / Write "padding-bottom" gdouble : Read / Write "padding-left" gdouble : Read / Write "padding-right" gdouble : Read / Write "padding-top" gdouble : Read / Write "rotation" gpointer : Read / Write "size" gpointer : Read / Write "source" gchararray : Read / Write / Construct
RptObject* rpt_obj_text_new (const gchar *name, RptPoint position);
Creates a new RptObjText object and sets its position to position
.
name : |
the RptObjText's name. |
position : |
an RptPoint. |
Returns : | the newly created RptObject object. |
RptObject* rpt_obj_text_new_from_xml (xmlNode *xnode);
xnode : |
an xmlNode. |
Returns : | the newly created RptObject object. |
void rpt_obj_text_get_xml (RptObject *rpt_objtext, xmlNode *xnode);
rpt_objtext : |
an RptObjText object. |
xnode : |
an xmlNode. |
background-color
" property"background-color" gpointer : Read / Write
The text's background color.
padding-bottom
" property"padding-bottom" gdouble : Read / Write
Padding Bottom.
Allowed values: >= 0
Default value: 0
padding-left
" property"padding-left" gdouble : Read / Write
Padding Left.
Allowed values: >= 0
Default value: 0
padding-right
" property"padding-right" gdouble : Read / Write
Padding Right.
Allowed values: >= 0
Default value: 0
padding-top
" property"padding-top" gdouble : Read / Write
Padding Top.
Allowed values: >= 0
Default value: 0