fo-property-font-size

fo-property-font-size —

Synopsis




struct      FoPropertyFontSize;
struct      FoPropertyFontSizeClass;
FoProperty* fo_property_font_size_new       (void);
FoProperty* fo_property_font_size_new_from_expression
                                            (const gchar *expression,
                                             FoContext *context,
                                             FoProperty *current_font_size,
                                             FoFo *fo_node,
                                             GError **error);
FoProperty* fo_property_font_size_get_initial
                                            (void);

Description

Details

struct FoPropertyFontSize

struct FoPropertyFontSize;


struct FoPropertyFontSizeClass

struct FoPropertyFontSizeClass;


fo_property_font_size_new ()

FoProperty* fo_property_font_size_new       (void);

Creates a new FoPropertyFontSize initialized to default value.

Returns : the new FoPropertyFontSize.

fo_property_font_size_new_from_expression ()

FoProperty* fo_property_font_size_new_from_expression
                                            (const gchar *expression,
                                             FoContext *context,
                                             FoProperty *current_font_size,
                                             FoFo *fo_node,
                                             GError **error);

Evaluates expression w.r.t. context and current_font_size. Returns an FoProperty object of correct type if expression evaluated without error, or NULL if an error occurred.

expression : Expression to evaluate
context : FoContext object from which to possibly inherit values
current_font_size : Current font size
fo_node : Formatting object on which property expression was declared
error : Information about an error that has occurred
Returns : FoProperty object representing resolved expression, or NULL

fo_property_font_size_get_initial ()

FoProperty* fo_property_font_size_get_initial
                                            (void);

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

Returns : An instance of the property.