fo-property-line-height

fo-property-line-height —

Synopsis




enum        FoEnumLineHeight;
#define     FO_TYPE_ENUM_LINE_HEIGHT
GType       fo_enum_line_height_get_type    (void);
struct      FoPropertyLineHeight;
struct      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

enum FoEnumLineHeight

typedef enum {
  FO_ENUM_LINE_HEIGHT_NORMAL
} FoEnumLineHeight;


FO_TYPE_ENUM_LINE_HEIGHT

#define FO_TYPE_ENUM_LINE_HEIGHT fo_enum_line_height_get_type ()


fo_enum_line_height_get_type ()

GType       fo_enum_line_height_get_type    (void);

Returns :

struct FoPropertyLineHeight

struct FoPropertyLineHeight;


struct FoPropertyLineHeightClass

struct 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.