tailor_break


Description:


[ Version ( since = "1.44" ) ]
public void tailor_break (string text, int length, Analysis analysis, int offset, LogAttr[] log_attrs)

Apply language-specific tailoring to the breaks in log_attrs, which are assumed to have been produced by default_break.

If offset is not -1, it is used to apply attributes from analysis that are relevant to line breaking.

Parameters:

text

text to process. Must be valid UTF-8

length

length in bytes of text

analysis

Analysis structure from itemize for text

offset

Byte offset of text from the beginning of the paragraph, or -1 to ignore attributes from analysis

log_attrs

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

log_attrs_len

length of log_attrs array


Namespace: Pango
Package: pango