fo-property-column-width

fo-property-column-width —

Synopsis




struct      FoPropertyColumnWidth;
struct      FoPropertyColumnWidthClass;
FoProperty* fo_property_column_width_new    (void);
FoProperty* fo_property_column_width_get_initial
                                            (void);
FoDatatype* fo_property_column_width_resolve_percent
                                            (gdouble percentage,
                                             const FoDatatype *font_size,
                                             const FoFo *fo_node,
                                             const FoContext *context,
                                             GError **error);

Description

Details

struct FoPropertyColumnWidth

struct FoPropertyColumnWidth;


struct FoPropertyColumnWidthClass

struct FoPropertyColumnWidthClass;


fo_property_column_width_new ()

FoProperty* fo_property_column_width_new    (void);

Creates a new FoPropertyColumnWidth initialized to default value.

Returns : the new FoPropertyColumnWidth

fo_property_column_width_get_initial ()

FoProperty* fo_property_column_width_get_initial
                                            (void);

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

Returns : An instance of the property.

fo_property_column_width_resolve_percent ()

FoDatatype* fo_property_column_width_resolve_percent
                                            (gdouble percentage,
                                             const FoDatatype *font_size,
                                             const FoFo *fo_node,
                                             const FoContext *context,
                                             GError **error);

Resolves percentage values in 'column-width' property value expressions.

percentage : The percentage.
font_size : Current font-size property value.
fo_node : Current FoFo node.
context : Current FoContext.
error : GError.
Returns : Resolved value for percentage.