direction_t

class 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 DIRECTION_IS_HORIZONTAL() or DIRECTION_IS_VERTICAL().

Fields

class direction_t
BTT

Text is set vertically from bottom to top.

INVALID

Initial, unset direction.

LTR

Text is set horizontally from left to right.

RTL

Text is set horizontally from right to left.

TTB

Text is set vertically from top to bottom.