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


a GList of Item in logical order.


a GList of Item structures in visual order.