fo-area-layout

fo-area-layout —

Synopsis




struct      FoAreaLayout;
struct      FoAreaLayoutClass;
FoArea*     fo_area_layout_new              (void);
void        fo_area_layout_set_layout       (FoArea *fo_area_layout,
                                             PangoLayout *new_layout);
PangoLayout* fo_area_layout_get_layout      (FoArea *fo_area_layout);
void        fo_area_layout_set_line_first   (FoArea *fo_area_layout,
                                             gint new_line_first);
gint        fo_area_layout_get_line_first   (FoArea *fo_area_layout);
void        fo_area_layout_set_line_last    (FoArea *fo_area_layout,
                                             gint new_line_last);
gint        fo_area_layout_get_line_last    (FoArea *fo_area_layout);
gdouble     fo_area_layout_get_line_height  (FoArea *fo_area_layout,
                                             gint line_number);

Object Hierarchy


  GObject
   +----FoObject
         +----FoNode
               +----FoArea
                     +----FoAreaArea
                           +----FoAreaLayout

Properties


  "layout"               gpointer             : Read / Write

Description

Details

struct FoAreaLayout

struct FoAreaLayout;


struct FoAreaLayoutClass

struct FoAreaLayoutClass;


fo_area_layout_new ()

FoArea*     fo_area_layout_new              (void);

Creates a new FoAreaLayout initialized to default value.

Returns : the new FoAreaLayout

fo_area_layout_set_layout ()

void        fo_area_layout_set_layout       (FoArea *fo_area_layout,
                                             PangoLayout *new_layout);

fo_area_layout :
new_layout :

fo_area_layout_get_layout ()

PangoLayout* fo_area_layout_get_layout      (FoArea *fo_area_layout);

Gets the layout property of area_layout

fo_area_layout : The FoAreaLayout object
Returns : The "layout" property value

fo_area_layout_set_line_first ()

void        fo_area_layout_set_line_first   (FoArea *fo_area_layout,
                                             gint new_line_first);

fo_area_layout :
new_line_first :

fo_area_layout_get_line_first ()

gint        fo_area_layout_get_line_first   (FoArea *fo_area_layout);

Gets the line-first property of area_layout

fo_area_layout : The FoAreaLayout object
Returns : The "line_first" property value

fo_area_layout_set_line_last ()

void        fo_area_layout_set_line_last    (FoArea *fo_area_layout,
                                             gint new_line_last);

Sets the line-last property of area_area to new_line_last

fo_area_layout : The FoAreaArea object
new_line_last : The new "line_last" property value

fo_area_layout_get_line_last ()

gint        fo_area_layout_get_line_last    (FoArea *fo_area_layout);

Gets the line-last property of area_layout

fo_area_layout : The FoAreaArea object
Returns : The "line_last" property value

fo_area_layout_get_line_height ()

gdouble     fo_area_layout_get_line_height  (FoArea *fo_area_layout,
                                             gint line_number);

Get the height of line line_number.

fo_area_layout : FoArea.
line_number : Number of the line for which to get the height.
Returns : The line height in points.

Properties

"layout" (gpointer : Read / Write)

Pango layout of formatted text of block.