Namespace

CoglPango – 10

A Low Level GPU Graphics and Utilities API

Version10
AuthorsMutter Development Team
LicenseGPL-2.0-or-later
Websitehttps://blogs.gnome.org/shell-dev/
Sourcehttps://gitlab.gnome.org/GNOME/mutter/

Build

C headerscogl-pango.h
pkg-config files

Dependencies

GObject The base type system library
Browse documentation
Pango Text shaping and rendering
Browse documentation
PangoCairo Cairo support for Pango
Browse documentation

Additional documentation

Classes

Aliases

Functions

ensure_glyph_cache_for_layout

This updates any internal glyph cache textures as necessary to be able to render the given layout.

font_map_clear_glyph_cache

Clears the glyph cache for font_map.

font_map_create_context

Create a PangoContext for the given font_map.

font_map_get_renderer

Retrieves the CoglPangoRenderer for the passed font_map.

font_map_get_use_mipmapping

Retrieves whether the CoglPangoRenderer used by font_map will use mipmapping when rendering the glyphs.

font_map_new

Creates a new font map.

font_map_set_resolution

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).

font_map_set_use_mipmapping

Sets whether the renderer for the passed font map should use mipmapping when rendering a PangoLayout.

show_layout

Draws a solidly coloured layout on the given framebuffer at (x, y) within the framebuffer‘s current model-view coordinate space.

show_layout_line

Draws a solidly coloured line on the given framebuffer at (x, y) within the framebuffer‘s current model-view coordinate space.

Function Macros