default_break


Description:


public void default_break (string text, int length, Analysis? analysis, LogAttr attrs, int attrs_len)

This is the default break algorithm.

It applies rules from the Unicode Line Breaking Algorithm without language-specific tailoring, therefore the analyis argument is unused and can be null .

See [[email protected]_break] for language-specific breaks.

See [[email protected]_break] for attribute-based customization.

Parameters:

text

text to break. Must be valid UTF-8

length

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

analysis

a `PangoAnalysis` structure for the text

attrs

logical attributes to fill in

attrs_len

size of the array passed as attrs


Namespace: Pango
Package: pango



2022 vala-language.org