Renderer
PangoRenderer
is a base class for objects that can render text provided as PangoGlyphString
or PangoLayout
.
By subclassing PangoRenderer
and overriding operations such as
Since
1.8
Constructors
Functions
Cleans up after rendering operations on @renderer.
Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
Draws the glyphs in @glyph_item with the specified PangoRenderer
, embedding the text associated with the glyphs in the output if the output format supports it.
Draws the glyphs in @glyphs with the specified PangoRenderer
.
Draws @layout with the specified PangoRenderer
.
Draws @line with the specified PangoRenderer
.
Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer
.
Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer
; coordinates are in device space.
Gets the current alpha for the specified part.
Gets the current rendering color for the specified part.
Gets the layout line currently being rendered using @renderer.
Informs Pango that the way that the rendering is done for @part has changed.
Sets the alpha for part of the rendering.
Sets the color for part of the rendering.