PgContext.defaultBreak

This is the default break algorithm, used if no language engine overrides it. Normally you should use pango_break() instead. Unlike pango_break(), analysis can be NULL, but only do that if you know what you're doing. If you need an analysis to pass to pango_break(), you need to pango_itemize(). In most cases however you should simply use pango_get_log_attrs().

class PgContext
static
void
defaultBreak

Parameters

text string

text to break

length int

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

analysis PangoAnalysis*

a PangoAnalysis for the text

attrs PangoLogAttr*

logical attributes to fill in

attrsLen int

size of the array passed as attrs

Meta