reorderItems

Reorder items from logical order to visual order.

The visual order is determined from the associated directional levels of the items. The original list is unmodified.

(Please open a bug if you use this function. It is not a particularly convenient interface, and the code is duplicated elsewhere in Pango for that reason.)

Parameters

items pango.item.Item[]

a glib.list.List of pango.item.Item in logical order.

Return Value

Type: pango.item.Item[]

a glib.list.List of pango.item.Item structures in visual order.