line-height

line-height

Synopsis

                    FoPropertyLineHeight;
                    FoPropertyLineHeightClass;
FoProperty*         fo_property_line_height_new         (void);
FoProperty*         fo_property_line_height_get_initial (void);
FoProperty*         fo_property_line_height_resolve     (FoProperty *line_height,
                                                         FoProperty *font_size);

Description

Details

FoPropertyLineHeight

typedef struct _FoPropertyLineHeight FoPropertyLineHeight;


FoPropertyLineHeightClass

typedef struct _FoPropertyLineHeightClass FoPropertyLineHeightClass;


fo_property_line_height_new ()

FoProperty*         fo_property_line_height_new         (void);

Creates a new FoPropertyLineHeight initialized to default value.

Returns :

the new FoPropertyLineHeight.

fo_property_line_height_get_initial ()

FoProperty*         fo_property_line_height_get_initial (void);

Get an instance of the property with the correct initial value.

Returns :

An instance of the property.

fo_property_line_height_resolve ()

FoProperty*         fo_property_line_height_resolve     (FoProperty *line_height,
                                                         FoProperty *font_size);

Determine the computed value of the 'line-height' based on line_height and font_size.

line_height :

'line-height' property.

font_size :

'font-size' property.

Returns :

FoProperty with the computed value of line_height.