Pango.RendererClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
begin |
r |
Do renderer-specific initialization before drawing |
|
draw_error_underline |
r |
draws a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. |
|
draw_glyph |
r |
draws a single glyph |
|
draw_glyph_item |
r |
draws a |
|
draw_glyphs |
r |
draws a |
|
draw_rectangle |
r |
draws a rectangle |
|
draw_shape |
r |
draw content for a glyph shaped with |
|
draw_trapezoid |
r |
draws a trapezoidal filled area |
|
end |
r |
Do renderer-specific cleanup after drawing |
|
parent_class |
r |
||
part_changed |
r |
do renderer specific processing when rendering attributes change |
|
prepare_run |
r |
updates the renderer for a new run |
Methods¶
None
Details¶
- class Pango.RendererClass¶
Class structure for
PangoRenderer
.The following vfuncs take user space coordinates in Pango units and have default implementations:
draw_glyphs
draw_rectangle
draw_error_underline
draw_shape
draw_glyph_item
The default draw_shape implementation draws nothing.
The following vfuncs take device space coordinates as doubles and must be implemented:
draw_trapezoid
draw_glyph
New in version 1.8.