Class
PangoXftRenderer
Description [src]
class PangoXft.Renderer : Pango.Renderer {
/* No available fields */
}
PangoXftRenderer is a subclass of PangoRenderer used for rendering
with Pango’s Xft backend. It can be used directly, or it can be
further subclassed to modify exactly how drawing of individual
elements occurs.
| Available since: | 1.8 |
Constructors
pango_xft_renderer_new
Create a new PangoXftRenderer to allow rendering Pango objects
with the Xft library.
Available since: 1.8
Instance methods
pango_xft_renderer_set_default_color
Sets the default foreground color for a XftRenderer.
Available since: 1.8
pango_xft_renderer_set_draw
Sets the XftDraw object that the renderer is drawing to. The renderer must not be currently active.
Available since: 1.8
Methods inherited from PangoRenderer (19)
pango_renderer_activate
Does initial setup before rendering operations on renderer.
Available since: 1.8
pango_renderer_deactivate
Cleans up after rendering operations on renderer.
Available since: 1.8
pango_renderer_draw_error_underline
Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
Available since: 1.8
pango_renderer_draw_glyph
Draws a single glyph with coordinates in device space.
Available since: 1.8
pango_renderer_draw_glyph_item
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.
Available since: 1.22
pango_renderer_draw_glyphs
Draws the glyphs in glyphs with the specified PangoRenderer.
Available since: 1.8
pango_renderer_draw_layout
Draws layout with the specified PangoRenderer.
Available since: 1.8
pango_renderer_draw_layout_line
Draws line with the specified PangoRenderer.
Available since: 1.8
pango_renderer_draw_rectangle
Draws an axis-aligned rectangle in user space coordinates with the
specified PangoRenderer.
Available since: 1.8
pango_renderer_draw_trapezoid
Draws a trapezoid with the parallel sides aligned with the X axis
using the given PangoRenderer; coordinates are in device space.
Available since: 1.8
pango_renderer_get_alpha
Gets the current alpha for the specified part.
Available since: 1.38
pango_renderer_get_color
Gets the current rendering color for the specified part.
Available since: 1.8
pango_renderer_get_layout
Gets the layout currently being rendered using renderer.
Available since: 1.20
pango_renderer_get_layout_line
Gets the layout line currently being rendered using renderer.
Available since: 1.20
pango_renderer_get_matrix
Gets the transformation matrix that will be applied when rendering.
Available since: 1.8
pango_renderer_part_changed
Informs Pango that the way that the rendering is done
for part has changed.
Available since: 1.8
pango_renderer_set_alpha
Sets the alpha for part of the rendering.
Available since: 1.38
pango_renderer_set_color
Sets the color for part of the rendering.
Available since: 1.8
pango_renderer_set_matrix
Sets the transformation matrix that will be applied when rendering.
Available since: 1.8
Methods inherited from GObject (43)
Properties
PangoXft.Renderer:display
PangoXft.Renderer:screen
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct PangoXftRendererClass {
void (* composite_trapezoids) (
PangoXftRenderer* xftrenderer,
PangoRenderPart part,
XTrapezoid* trapezoids,
int n_trapezoids
);
void (* composite_glyphs) (
PangoXftRenderer* xftrenderer,
XftFont* xft_font,
XftGlyphSpec* glyphs,
int n_glyphs
);
}
Class members
composite_trapezoids |
|
| No description available. | |
composite_glyphs |
|
| No description available. |