fo-property-writing-mode

fo-property-writing-mode —

Synopsis




enum        FoEnumWritingMode;
#define     FO_TYPE_ENUM_WRITING_MODE
struct      FoPropertyWritingMode;
struct      FoPropertyWritingModeClass;
GType       fo_enum_writing_mode_get_type   (void);
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

enum FoEnumWritingMode

typedef enum {
  FO_ENUM_WRITING_MODE_LR_TB,
  FO_ENUM_WRITING_MODE_RL_TB,
  FO_ENUM_WRITING_MODE_TB_RL
} FoEnumWritingMode;


FO_TYPE_ENUM_WRITING_MODE

#define     FO_TYPE_ENUM_WRITING_MODE


struct FoPropertyWritingMode

struct FoPropertyWritingMode;


struct FoPropertyWritingModeClass

struct FoPropertyWritingModeClass;


fo_enum_writing_mode_get_type ()

GType       fo_enum_writing_mode_get_type   (void);

Returns :

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