Renderer
Added in version 1.8.
Superclasses: Renderer
, Object
- Constructors:
Renderer(**properties)
new(display:xlib.Display, screen:int) -> Pango.Renderer
Constructors
- class Renderer
- classmethod new(display: Display, screen: int) Renderer
Create a new
PangoXftRenderer
to allow rendering Pango objects with the Xft library.You must call
set_draw()
before using the renderer.Added in version 1.8.
- Parameters:
display – an X display
screen – the index of the screen for
display
to which rendering will be done
Methods
Properties
Virtual Methods
- class Renderer
- do_composite_glyphs(xft_font: Font, glyphs: GlyphSpec, n_glyphs: int) None
draw the specified glyphs using the current foreground color and other foreground attributes
- Parameters:
xft_font
glyphs
n_glyphs
- do_composite_trapezoids(part: RenderPart, trapezoids: XTrapezoid, n_trapezoids: int) None
draw the specified trapezoids using the current color and other attributes for
part
- Parameters:
part
trapezoids
n_trapezoids