letter_space


Description:

[ Version ( since = "1.6" ) ]
public void letter_space (string text, LogAttr[] log_attrs, int letter_spacing)

Adds spacing between the graphemes of this to give the effect of typographic letter spacing.

Parameters:

this

a `PangoGlyphItem`

text

text that this corresponds to (glyph_item->item->offset is an offset from the start of text)

log_attrs

logical attributes for the item (the first logical attribute refers to the position before the first character in the item)

letter_spacing

amount of letter spacing to add in Pango units. May be negative, though too large negative values will give ugly results.




2022 vala-language.org