Function
Pango.ScriptIter.new
Declaration [src]
PangoScriptIter*
pango_script_iter_new (
const char* text,
int length
)
Description [src]
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 pango_script_iter_free().
Parameters
text |
const char* |
a UTF-8 string |
|
| Ownership is not transferred to the callee | |
| The string is a NUL terminated UTF-8 string | |
length |
int |
length of |
Return value
Returns: PangoScriptIter |
|
the new script iterator, initialized
to point at the first range in the text, which should be
freed with |
|
| Ownership of the data is transferred to the caller | |