Import line: | PangoCairo = imports.gi.PangoCairo; |
GIR File: | PangoCairo-1.0.gir |
C documentation: | PangoCairo |
Namespace : | PangoCairo |
None |
Method / Constructor | Defined By | |
---|---|---|
Retrieves any font rendering options previously set with
pango_cairo_font_map_set_font_options().
Retrieves any font rendering options previously set with
pango_cairo_font_map_set_font_options(). This function does not report options that are derived from the target surface by pango_cairo_update_context() if no options have been set. This value is owned by the context and must not be modified or freed.
|
PangoCairo | |
Gets the resolution for the context.
Gets the resolution for the context. See pango_cairo_context_set_resolution()
be returned if no resolution has previously been set.
|
PangoCairo | |
Sets the font options used when rendering text with this context.
Sets the font options used when rendering text with this context.
These options override any options that pango_cairo_update_context() derives from the target surface.
|
PangoCairo | |
Sets the resolution for the context.
Sets the resolution for the context. This is a scale factor between
points specified in a PangoFontDescription and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).
|
PangoCairo | |
PangoCairo.context_set_shape_renderer
(Context context, Function func, void* data, Function dnotify)
:
none
Sets callback function for context to use for rendering attributes
of type PANGO_ATTR_SHAPE.
Sets callback function for context to use for rendering attributes
of type PANGO_ATTR_SHAPE. See PangoCairoShapeRendererFunc for details.
|
PangoCairo | |
PangoCairo.error_underline_path
(Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
Add a squiggly line to the current path in the specified cairo context that
approximately covers the given rectangle in the style of an underline used to indicate a spelling error.
Add a squiggly line to the current path in the specified cairo context 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)
|
PangoCairo | |
Adds the glyphs in glyphs to the current path in the specified
cairo context.
Adds the glyphs in glyphs to the current path in the specified
cairo context. The origin of the glyphs (the left edge of the baseline) will be at the current point of the cairo context.
|
PangoCairo | |
Adds the text in PangoLayoutLine to the current path in the
specified cairo context.
Adds the text in PangoLayoutLine to the current path in the
specified cairo context. The origin of the glyphs (the left edge of the line) will be at the current point of the cairo context.
|
PangoCairo | |
Adds the text in a PangoLayout to the current path in the
specified cairo context.
Adds the text in a PangoLayout to the current path in the
specified cairo context. The top-left corner of the PangoLayout will be at the current point of the cairo context.
|
PangoCairo | |
PangoCairo.show_error_underline
(Context cr, gdouble x, gdouble y, gdouble width, gdouble height)
:
none
Draw a squiggly line in the specified cairo context that approximately
covers the given rectangle in the style of an underline used to indicate a spelling error.
Draw a squiggly line in the specified cairo context 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)
|
PangoCairo | |
Draws the glyphs in glyph_item in the specified cairo context,
embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to pango_cairo_show_glyph_string().
Draws the glyphs in glyph_item in the specified cairo context,
embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to pango_cairo_show_glyph_string(). The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context. Note that text is the start of the text for layout, which is then indexed by
|
PangoCairo | |
Draws the glyphs in glyphs in the specified cairo context.
Draws the glyphs in glyphs in the specified cairo context.
The origin of the glyphs (the left edge of the baseline) will be drawn at the current point of the cairo context.
|
PangoCairo | |
Draws a PangoLayout in the specified cairo context.
Draws a PangoLayout in the specified cairo context.
The top-left corner of the PangoLayout will be drawn at the current point of the cairo context.
|
PangoCairo | |
Draws a PangoLayoutLine in the specified cairo context.
Draws a PangoLayoutLine in the specified cairo context.
The origin of the glyphs (the left edge of the line) will be drawn at the current point of the cairo context.
|
PangoCairo | |
Updates a PangoContext previously created for use with Cairo to
match the current transformation and target surface of a Cairo context.
Updates a PangoContext previously created for use with Cairo to
match the current transformation and target surface of a Cairo context. If any layouts have been created for the context, it's necessary to call pango_layout_context_changed() on those layouts.
|
PangoCairo | |
Updates the private PangoContext of a PangoLayout created with
pango_cairo_create_layout() to match the current transformation and target surface of a Cairo context.
Updates the private PangoContext of a PangoLayout created with
pango_cairo_create_layout() to match the current transformation and target surface of a Cairo context.
|
PangoCairo |
None |