PangoRenderer
Object Hierarchy:
Description:
Namespace: Gdk
Package: gdk-2.0
Content:
Properties:
Static methods:
-
public static weak Renderer get_default (Screen screen)
Gets the default Renderer for a screen. This
default renderer is shared by all users of the display, so properties such as the color or transformation matrix set for the renderer
may be overwritten by functions such as draw_layout.
Creation methods:
Methods:
-
public void set_drawable (Drawable drawable)
Sets the drawable the renderer draws to.
-
public void set_gc (GC gc)
Sets the GC the renderer draws with. Note that the GC must not be modified until it is unset by calling
the function again with null for the gc parameter, since GDK may make internal copies of the GC which won't
be updated to follow changes to the original GC.
-
public void set_override_color (RenderPart part, Color color)
Sets the color for a particular render part (foreground, background, underline, etc.), overriding any
attributes on the layouts renderered with this renderer.
-
public void set_stipple (RenderPart part, Bitmap stipple)
Sets the stipple for one render part (foreground, background, underline, etc.) Note that this is
overwritten when iterating through the individual styled runs of a Layout or
LayoutLine. This function is thus only useful when you call low level
functions like draw_glyphs directly, or in the
'prepare_run' virtual function of a subclass of PangoRenderer.