set_base_dir


Description:

public void set_base_dir (Direction direction)

Sets the base direction for the context.

The base direction is used in applying the Unicode bidirectional algorithm; if the direction is pango_direction_ltr or pango_direction_rtl, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of pango_direction_weak_ltr or pango_direction_weak_rtl is used only for paragraphs that do not contain any strong characters themselves.

Parameters:

this

a `PangoContext`

direction

the new base direction




2022 vala-language.org