TextNode


Description:

[ CCode ( has_construct_function = false , type = "GskRenderNode*" ) ]
public TextNode (Font font, GlyphString glyphs, RGBA color, Point offset)

Creates a render node that renders the given glyphs.

Note that color may not be used if the font contains color glyphs.

Parameters:

font

the `PangoFont` containing the glyphs

glyphs

the `PangoGlyphString` to render

color

the foreground color to render with

offset

offset of the baseline

Returns:

a new `GskRenderNode`