Function
Pangoattr_break
since: 1.50
Declaration [src]
void
pango_attr_break(
constchar*text,
intlength,
PangoAttrList*attr_list,
intoffset,
PangoLogAttr*attrs,
intattrs_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 argument will be set by the function.The length of the array is specified in theattrs_lenargument.The returned data is owned by the function. attrs_len-
Type:
intLength of
attrsarray.