TextNode.this

Creates a render node that renders the given glyphs.

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

  1. this(void* ptr, Flag!"Take" take)
  2. this(pango.font.Font font, pango.glyph_string.GlyphString glyphs, gdk.rgba.RGBA color, graphene.point.Point offset)

Parameters

font pango.font.Font

the pango.font.Font containing the glyphs

glyphs pango.glyph_string.GlyphString
color gdk.rgba.RGBA

the foreground color to render with

offset graphene.point.Point

offset of the baseline

Return Value