Function pango::reorder_items

source ·
pub fn reorder_items(logical_items: &List<Item>) -> List<Item>
Expand description

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.)

items

a GList of Item in logical order.

Returns

a GList of Item structures in visual order.