Package: pango

Function pango:attr-baseline-shift-new

Lambda List

pango:attr-baseline-shift-new (shift)

Arguments

shift -- either a pango:baseline-shift value or an integer for the absolute value in Pango units, relative to the baseline of the previous run, positive values displace the text upwards

Return Value

The newly allocated pango:attribute instance.

Details

Creates a new baseline displacement attribute. The effect of this attribute is to shift the baseline of a run, relative to the run of preceding run.

Since 1.50
 

See also

2025-08-16