## fo-property-writing-mode

fo-property-writing-mode —

## Synopsis

    struct      FoPropertyWritingMode;
    struct      FoPropertyWritingModeClass;
    FoProperty* fo_property_writing_mode_new    (void);
    FoProperty* fo_property_writing_mode_get_initial
                                                (void);
    FoEnumAreaDirection fo_property_writing_mode_to_bpd
                                                (FoProperty *writing_mode,
                                                 GError **error);
    FoEnumAreaDirection fo_property_writing_mode_to_ipd
                                                (FoProperty *writing_mode,
                                                 GError **error);
    FoEnumAreaDirection fo_property_writing_mode_to_sd
                                                (FoProperty *writing_mode,
                                                 GError **error);

## Description

## Details

### struct FoPropertyWritingMode

    struct FoPropertyWritingMode;

### struct FoPropertyWritingModeClass

    struct FoPropertyWritingModeClass;

### fo_property_writing_mode_new ()

    FoProperty* fo_property_writing_mode_new    (void);

Creates a new FoPropertyWritingMode initialized to default value.

Returns : | the new FoPropertyWritingMode.

### fo_property_writing_mode_get_initial ()

    FoProperty* fo_property_writing_mode_get_initial
                                                (void);

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

Returns : | An instance of the property.

### fo_property_writing_mode_to_bpd ()

    FoEnumAreaDirection fo_property_writing_mode_to_bpd
                                                (FoProperty *writing_mode,
                                                 GError **error);

Determine the block-progression-direction for the current value of `writing_mode`

`writing_mode` : | FoPropertyWritingMode
`error` : | GError
Returns : | FoEnumAreaDirection indicating block-progression-direction

### fo_property_writing_mode_to_ipd ()

    FoEnumAreaDirection fo_property_writing_mode_to_ipd
                                                (FoProperty *writing_mode,
                                                 GError **error);

Determine the inline-progression-direction for the current value of `writing_mode`

`writing_mode` : | FoPropertyWritingMode
`error` : | GError
Returns : | FoEnumAreaDirection indicating inline-progression-direction

### fo_property_writing_mode_to_sd ()

    FoEnumAreaDirection fo_property_writing_mode_to_sd
                                                (FoProperty *writing_mode,
                                                 GError **error);

Determine the shift-direction for the current value of `writing_mode`

`writing_mode` : | FoPropertyWritingMode
`error` : | GError
Returns : | FoEnumAreaDirection indicating shift-direction