Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <pango-engine.h>
Data Fields | |
PangoEngineClass | parent_class |
void(* | script_shape )(PangoEngineShape *engine, PangoFont *font, const char *item_text, unsigned int item_length, const PangoAnalysis *analysis, PangoGlyphString *glyphs, const char *paragraph_text, unsigned int paragraph_length) |
PangoCoverageLevel(* | covers )(PangoEngineShape *engine, PangoFont *font, PangoLanguage *language, gunichar wc) |
PangoEngineShapeClass: @script_shape: Given a font, a piece of text, and a PangoAnalysis
structure, converts characters to glyphs and positions the resulting glyphs. The results are stored in the PangoGlyphString
that is passed in. (The implementation should resize it appropriately using pango_glyph_string_set_size()). All fields of the @log_clusters and @glyphs array must be filled in, with the exception that Pango will automatically generate glyphs->glyphs[i].attr.is_cluster_start
using the @log_clusters array. Each input character must occur in one of the output logical clusters; if no rendering is desired for a character, this may involve inserting glyphs with the PangoGlyph
ID PANGO_GLYPH_EMPTY, which is guaranteed never to render. If the shaping fails for any reason, the shaper should return with an empty (zero-size) glyph string. If the shaper has not set the size on the glyph string yet, simply returning signals the failure too. @covers: Returns the characters that this engine can cover with a given font for a given language. If not overridden, the default implementation simply returns the coverage information for the font itself unmodified.
Class structure for PangoEngineShape
Deprecated: 1.38
Definition at line 222 of file pango-engine.h.
PangoCoverageLevel(* _PangoEngineShapeClass::covers) (PangoEngineShape *engine, PangoFont *font, PangoLanguage *language, gunichar wc) |
Definition at line 236 of file pango-engine.h.
PangoEngineClass _PangoEngineShapeClass::parent_class |
Definition at line 225 of file pango-engine.h.
void(* _PangoEngineShapeClass::script_shape) (PangoEngineShape *engine, PangoFont *font, const char *item_text, unsigned int item_length, const PangoAnalysis *analysis, PangoGlyphString *glyphs, const char *paragraph_text, unsigned int paragraph_length) |
Definition at line 228 of file pango-engine.h.