Function
Pango.attr_break
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 |
const char* |
text to break. Must be valid UTF-8 |
|
The data is owned by the caller of the function | |
The string is a NUL terminated UTF-8 string | |
length |
int |
length of text in bytes (may be -1 if |
|
attr_list |
PangoAttrList |
|
|
The data is owned by the caller of the function | |
offset |
int |
Byte offset of |
|
attrs |
An array of PangoLogAttr |
array with one |
|
The length of the array is in the attrs_len argument | |
The data is owned by the caller of the function | |
attrs_len |
int |
length of |