Function

Pango-1.0Pangoitemize_with_base_dirSince 1.4

  • Like pango_itemize(), but with an explicitly specified base direction.

    The base direction is used when computing bidirectional levels. itemize gets the base direction from the Pango.Context (see Pango.Context.set_base_dir).

    Parameters

    • context: Pango.Context

      a structure holding information that affects the itemization process.

    • base_dir: Pango.Direction

      base direction to use for bidirectional processing

    • text: string

      the text to itemize.

    • start_index: number

      first byte in text to process

    • length: number

      the number of bytes (not characters) to process after start_index. This must be >= 0.

    • attrs: AttrList

      the set of attributes that apply to text.

    • Optionalcached_iter: AttrIterator

      Cached attribute iterator

    Returns Pango.Item[]

    a GLib.List of Pango.Item structures. The items should be freed using Pango.Item.free probably in combination with GLib.List.free_full.

    1.4