GObject.Object
Pango.Renderer
PangoXft.Renderer
Import line: | PangoXft = imports.gi.PangoXft; |
GIR File: | PangoXft-1.0.gir |
C documentation: | PangoXftRenderer |
Class : | Renderer |
Extends: | Pango.Renderer |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
active_count : Number
read only
|
Pango.Renderer | |
display : void*
|
PangoXft.Renderer | |
display : xlib.Display
read only
|
PangoXft.Renderer | |
draw : xft.Draw
read only
|
PangoXft.Renderer | |
matrix : Pango.Matrix
read only
|
Pango.Renderer | |
parent_instance : Pango.Renderer
read only
|
PangoXft.Renderer | |
priv : PangoXft.RendererPrivate
read only
|
PangoXft.Renderer | |
screen : Number
|
PangoXft.Renderer | |
screen : Number
read only
|
PangoXft.Renderer | |
strikethrough : Boolean
read only
|
Pango.Renderer | |
underline : Pango.Underline
read only
|
Pango.Renderer |
Method / Constructor | Defined By | |
---|---|---|
new PangoXft.Renderer
(Object properties)
Create a new PangoXft.Renderer
Create a new PangoXft.Renderer
|
||
Create a new PangoXft.Renderer
Create a new PangoXft.Renderer
|
||
activate
()
:
none
Does initial setup before rendering operations on renderer.
Does initial setup before rendering operations on renderer. pango_renderer_deactivate() should be called when done drawing. Calls such as pango_renderer_draw_layout() automatically activate the layout before drawing on it. Calls to pango_renderer_activate() and pango_renderer_deactivate() can be nested and the renderer will only be initialized and deinitialized once.
|
Pango.Renderer | |
deactivate
()
:
none
Cleans up after rendering operations on renderer.
Cleans up after rendering operations on renderer. See docs for pango_renderer_activate().
|
Pango.Renderer | |
Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
Draw a squiggly line that approximately covers the given rectangle in the style of an underline used to indicate a spelling error. (The width of the underline is rounded to an integer number of up/down segments and the resulting rectangle is centered in the original rectangle) This should be called while renderer is already active. Use pango_renderer_activate() to activate a renderer.
|
Pango.Renderer | |
Draws a single glyph with coordinates in device space.
Draws a single glyph with coordinates in device space.
|
Pango.Renderer | |
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 (PDF for example).
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 (PDF for example). Note that text is the start of the text for layout, which is then indexed by
|
Pango.Renderer | |
Draws the glyphs in glyphs with the specified PangoRenderer.
Draws the glyphs in glyphs with the specified PangoRenderer.
|
Pango.Renderer | |
Draws layout with the specified PangoRenderer.
Draws layout with the specified PangoRenderer.
|
Pango.Renderer | |
Draws line with the specified PangoRenderer.
Draws line with the specified PangoRenderer.
|
Pango.Renderer | |
Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer.
Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer. This should be called while renderer is already active. Use pango_renderer_activate() to activate a renderer.
|
Pango.Renderer | |
draw_trapezoid
(RenderPart part, Number y1_, Number x11, Number x21, Number y2, Number x12, Number x22)
:
none
Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space.
Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space.
|
Pango.Renderer | |
get_color
(RenderPart part)
:
Pango.Color
Gets the current rendering color for the specified part.
Gets the current rendering color for the specified part. if it hasn't been set and should be inherited from the environment.
|
Pango.Renderer | |
get_layout
()
:
Pango.Layout
Gets the layout currently being rendered using renderer.
Gets the layout currently being rendered using renderer. Calling this function only makes sense from inside a subclass's methods, like in its draw_shape() for example. The returned layout should not be modified while still being rendered. rendered using renderer at this time.
|
Pango.Renderer | |
get_layout_line
()
:
Pango.LayoutLine
Gets the layout line currently being rendered using renderer.
Gets the layout line currently being rendered using renderer. Calling this function only makes sense from inside a subclass's methods, like in its draw_shape() for example. The returned layout line should not be modified while still being rendered. rendered using renderer at this time.
|
Pango.Renderer | |
get_matrix
()
:
Pango.Matrix
Gets the transformation matrix that will be applied when rendering.
Gets the transformation matrix that will be applied when rendering. See pango_renderer_set_matrix(). (which is the same as the identity matrix). The returned matrix is owned by Pango and must not be modified or freed.
|
Pango.Renderer | |
part_changed
(RenderPart part)
:
none
Informs Pango that the way that the rendering is done for part has changed in a way that would prevent multiple pieces being joined together into one drawing call.
Informs Pango that the way that the rendering is done for part has changed in a way that would prevent multiple pieces being joined together into one drawing call. For instance, if a subclass of PangoRenderer was to add a stipple option for drawing underlines, it needs to call
|
Pango.Renderer | |
set_color
(RenderPart part, Color color)
:
none
Sets the color for part of the rendering.
Sets the color for part of the rendering.
|
Pango.Renderer | |
set_default_color
(Color default_color)
:
none
Sets the default foreground color for a XftRenderer.
Sets the default foreground color for a XftRenderer.
|
PangoXft.Renderer | |
set_draw
(Draw draw)
:
none
Sets the XftDraw object that the renderer is drawing to.
Sets the XftDraw object that the renderer is drawing to. The renderer must not be currently active.
|
PangoXft.Renderer | |
set_matrix
(Matrix matrix)
:
none
Sets the transformation matrix that will be applied when rendering.
Sets the transformation matrix that will be applied when rendering.
|
Pango.Renderer |
None |