Package: gsk

Function gsk:text-node-new

Lambda List

gsk:text-node-new (font glyphs color offset)

Arguments

font -- a pango:font object containing the glyphs
glyphs -- a pango:glyph-string instance to render
color -- a gdk:rgba instance with the foreground color to render with
offset -- a graphene:point-t instance with the offset of the baseline

Return Value

The new gsk:text-node instance.

Details

Creates a render node that renders the given glyphs. Note that color may not be used if the font contains color glyphs.
 

See also

#2023-11-29