attr_break


Description:


[ Version ( since = "1.50" ) ]
public void attr_break (string text, int length, AttrList attr_list, int offset, LogAttr[] attrs)

Apply customization from attributes to the breaks in attrs.

The line breaks are assumed to have been produced by [func@Pango.default_break] and [func@Pango.tailor_break].

Parameters:

text

text to break. Must be valid UTF-8

length

length of text in bytes (may be -1 if text is nul-terminated)

attr_list

`PangoAttrList` to apply

offset

Byte offset of text from the beginning of the paragraph

attrs

array with one `PangoLogAttr` per character in text, plus one extra, to be filled in

attrs_len

length of attrs array


Namespace: Pango
Package: pango