Function
Pangobreak
Declaration [src]
void
pango_break (
const char* text,
int length,
PangoAnalysis* analysis,
PangoLogAttr* attrs,
int attrs_len
)
Description [src]
Determines possible line, word, and character breaks for a string of Unicode text with a single analysis.
For most purposes you may want to use pango_get_log_attrs().
| Deprecated since: | 1.44 |
Use | |
Parameters
text-
Type:
const char*The text to process. Must be valid UTF-8
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. length-
Type:
intLength of
textin bytes (may be -1 iftextis nul-terminated) analysis-
Type:
PangoAnalysisPangoAnalysisstructure fortext.The data is owned by the caller of the function. attrs-
Type: An array of
PangoLogAttrAn array to store character information in.
The length of the array is specified in the attrs_lenargument.The data is owned by the caller of the function. attrs_len-
Type:
intSize of the array passed as
attrs.