Function
Pangoattr_break
since: 1.50
Declaration [src]
void
pango_attr_break (
const char* text,
int length,
PangoAttrList* attr_list,
int offset,
PangoLogAttr* attrs,
int attrs_len
)
Description [src]
Apply customization from attributes to the breaks in attrs.
The line breaks are assumed to have been produced
by pango_default_break() and pango_tailor_break().
Available since: 1.50
Parameters
text-
Type:
const char*Text to break. 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 text in bytes (may be -1 if
textis nul-terminated). attr_list-
Type:
PangoAttrListPangoAttrListto apply.The data is owned by the caller of the function. offset-
Type:
intByte offset of
textfrom the beginning of the paragraph. attrs-
Type: An array of
PangoLogAttrArray with one
PangoLogAttrper character intext, plus one extra, to be filled 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:
intLength of
attrsarray.