ScriptIter.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string text)

Create a new [pango.script_iter.ScriptIter], used to break a string of Unicode text into runs by Unicode script.

No copy is made of text, so the caller needs to make sure it remains valid until the iterator is freed with [pango.script_iter.ScriptIter.free].

Parameters

texta UTF-8 string

Returns

the new script iterator, initialized

to point at the first range in the text, which should be freed with [pango.script_iter.ScriptIter.free]. If the string is empty, it will point at an empty range.