Clears the glyph cache for font_map
.
a #CoglPangoFontMap
Create a #PangoContext for the given font_map
.
a #CoglPangoFontMap
Retrieves the #CoglPangoRenderer for the passed font_map
.
a #CoglPangoFontMap
Retrieves whether the #CoglPangoRenderer used by font_map
will use
mipmapping when rendering the glyphs.
a #CoglPangoFontMap
Sets the resolution for the font_map
. This is a scale factor
between points specified in a #PangoFontDescription and Cogl units.
The default value is %96, meaning that a 10 point font will be 13
units high. (10 * 96. / 72. = 13.3).
a #CoglPangoFontMap
The resolution in "dots per inch". (Physical inches aren't actually involved; the terminology is conventional.)
Sets whether the renderer for the passed font map should use mipmapping when rendering a #PangoLayout.
a #CoglPangoFontMap
%TRUE to enable the use of mipmapping
Draws a solidly coloured layout
on the given framebuffer
at (x,
y)
within the framebuffer<
!-- -->'s current model-view coordinate
space.
a #PangoLayout
X coordinate to render the layout at
Y coordinate to render the layout at
color to use when rendering the layout
Renders line
at the given coordinates using the given color.
a #PangoLayoutLine
X coordinate to render the line at
Y coordinate to render the line at
color to use when rendering the line
Draws a solidly coloured layout
on the given framebuffer
at (x,
y)
within the framebuffer<
!-- -->'s current model-view coordinate
space.
a #PangoLayout
X coordinate (in Pango units) to render the layout at
Y coordinate (in Pango units) to render the layout at
color to use when rendering the layout
Draws a solidly coloured layout
on the given framebuffer
at (x,
y)
within the framebuffer<
!-- -->'s current model-view coordinate
space.
A #CoglFramebuffer to draw too.
a #PangoLayout
X coordinate to render the layout at
Y coordinate to render the layout at
color to use when rendering the layout
Draws a solidly coloured line
on the given framebuffer
at (x,
y)
within the framebuffer<
!-- -->'s current model-view coordinate
space.
A #CoglFramebuffer to draw too.
a #PangoLayoutLine
X coordinate to render the line at
Y coordinate to render the line at
color to use when rendering the line
This updates any internal glyph cache textures as necessary to be able to render the given
layout
.This api should be used to avoid mid-scene modifications of glyph-cache textures which can lead to undefined rendering results.