Function pango::reorder_items[][src]

pub fn reorder_items(logical_items: &[&Item]) -> Vec<Item>
Expand description

From a list of items in logical order and the associated directional levels, produce a list in visual order. The original list is unmodified.

logical_items

a GList of Item in logical order.

Returns

a GList of Item structures in visual order.

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