xmlroff Reference Manual |
---|
FoLayout —
struct FoLayout; struct FoLayoutClass; #define FO_LAYOUT_ERRORGQuark fo_layout_error_quark (void); enum FoLayoutError; struct FoRectangle; FoLayout* fo_layout_new (void); FoLayout* fo_layout_new_from_fo_doc (FoDoc *fo_doc); FoLayout* fo_layout_copy (FoLayout *src); void fo_layout_set_attributes (FoLayout *fo_layout,GList *attr_glist); void fo_layout_set_text (FoLayout *fo_layout,GString *text); void fo_layout_set_width (FoLayout *fo_layout,gfloat width); void fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc); void fo_layout_set_alignment (FoLayout *fo_layout,FoEnumAreaDirection alignment); void fo_layout_set_indent (FoLayout *fo_layout,gfloat indent); void fo_layout_set_justify (FoLayout *fo_layout,gboolean justify);gint fo_layout_get_line_count (FoLayout *fo_layout); void fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect); void fo_layout_get_line_extents (FoLayout *fo_layout,gint line_index, FoRectangle *logical_rect); void fo_layout_set_line_height (FoLayout *fo_layout,gfloat line_height); void fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy);
GQuark fo_layout_error_quark (void);
Get the error quark for FoLayout.
If the quark does not yet exist, create it.
Returns : | |
FoLayout* fo_layout_new (void);
Creates a new FoLayout.
Returns : | the newly created FoLayout. |
FoLayout* fo_layout_new_from_fo_doc (FoDoc *fo_doc);
Creates a new FoLayout.
void fo_layout_set_attributes (FoLayout *fo_layout,GList *attr_glist);
fo_layout : | |
attr_glist : |
void fo_layout_set_text (FoLayout *fo_layout,GString *text);
fo_layout : | |
text : |
void fo_layout_set_width (FoLayout *fo_layout,gfloat width);
fo_layout : | |
width : |
void fo_layout_set_font_desc (FoLayout *fo_layout, const FoFontDesc *desc);
fo_layout : | |
desc : |
void fo_layout_set_alignment (FoLayout *fo_layout,FoEnumAreaDirection alignment);
Sets the alignment of fo_layout.
fo_layout : | FoLayout to have alignment set. |
alignment : | |
void fo_layout_set_indent (FoLayout *fo_layout,gfloat indent);
fo_layout : | |
indent : |
void fo_layout_set_justify (FoLayout *fo_layout,gboolean justify);
fo_layout : | |
justify : |
gint fo_layout_get_line_count (FoLayout *fo_layout);
fo_layout : | |
Returns : |
void fo_layout_get_extents (FoLayout *fo_layout, FoRectangle *logical_rect);
fo_layout : | |
logical_rect : |
void fo_layout_get_line_extents (FoLayout *fo_layout,gint line_index, FoRectangle *logical_rect);
fo_layout : | |
line_index : | |
logical_rect : |
void fo_layout_set_line_height (FoLayout *fo_layout,gfloat line_height);
Set the 'line-height' of fo_layout to line_height.
fo_layout : | FoLayout. |
line_height : | 'line-height' in points. |
void fo_layout_set_line_stacking_strategy (FoLayout *fo_layout, FoEnumEnum line_stacking_strategy);
Set the 'line-stacking-strategy' property of fo_layout to line_stacking_strategy.
fo_layout : | FoLayout. |
line_stacking_strategy : | Line stacking strategy to use. |
<< FoFontDesc | fo-layout-gp >> |