line-height

line-height

Functions

Types and Values

Description

Functions

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 .

Parameters

line_height

'line-height' property.

 

font_size

'font-size' property.

 

Returns

FoProperty with the computed value of line_height .

Types and Values

FoPropertyLineHeight

typedef struct _FoPropertyLineHeight FoPropertyLineHeight;


FoPropertyLineHeightClass

typedef struct _FoPropertyLineHeightClass FoPropertyLineHeightClass;