hb_direction_t

The direction of a text segment or buffer.

A segment can also be tested for horizontal or vertical orientation (irrespective of specific direction) with HB_DIRECTION_IS_HORIZONTAL() or HB_DIRECTION_IS_VERTICAL().

Values

ValueMeaning
INVALID0

Initial, unset direction.

LTR4

Text is set horizontally from left to right.

RTL5

Text is set horizontally from right to left.

TTB6

Text is set vertically from top to bottom.

BTT7

Text is set vertically from bottom to top.

Meta