Package: pango

Function pango:attr-shape-new

Lambda List

pango:attr-shape-new (ink logical)

Arguments

ink -- a pango:rectangle instance to assign to each character
logical -- a pango:rectangle instance to assign to each character

Return Value

The newly allocated pango:attribute instance.

Details

Creates a new shape attribute. A shape is used to impose a particular ink and logical rectangle on the result of shaping a particular glyph. This might be used, for instance, for embedding a picture or a widget inside a Pango layout.
 

See also

2025-1-1