Method

Pango.ScriptIter.get_range

Declaration [src]

void
pango_script_iter_get_range (
  PangoScriptIter* iter,
  const char** start,
  const char** end,
  PangoScript* script
)

Description [src]

Gets information about the range to which iter currently points. The range is the set of locations p where start <= p < end. (That is, it doesn’t include the character stored at *end)

Note that while the type of the script argument is declared as PangoScript, as of Pango 1.18, this function simply returns GUnicodeScript values. Callers must be prepared to handle unknown values.

Available since:1.4

Parameters

start const char**
 

location to store start position of the range

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it
 The string is a NUL terminated UTF-8 string
end const char**
 

location to store end position of the range

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it
 The string is a NUL terminated UTF-8 string
script PangoScript
 

location to store script for range

 Direction: out
 The called function takes ownership of the data, and is responsible for freeing it