ScriptIter
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.4" ) ]
public ScriptIter (string text, int length)
[ Version ( since = "1.4" ) ]
public ScriptIter (string text, int length)
Create a new `PangoScriptIter`, 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 [
method@Pango.ScriptIter.free].
Parameters:
text |
a UTF-8 string |
length |
length of |
Returns:
the new script iterator, initialized to point at the first range in the text, which should be freed with [method@Pango.ScriptIter.free] . If the string is empty, it will point at an empty range. |