Lines Matching defs:glyphs
1609 cairo_glyph_t *glyphs = glyph_array;
1612 glyphs = (cairo_glyph_t*)g_try_malloc(sizeof(cairo_glyph_t) * num_glyphs);
1613 if(glyphs == NULL) {
1614 g_warning("CairorenderContext::_showGlyphs: can not allocate memory for %d glyphs.", num_glyphs);
1620 unsigned int i = 0; // is a counter for indexing the glyphs array, only counts the valid glyphs
1622 // skip glyphs which are PANGO_GLYPH_EMPTY (0x0FFFFFFF)
1630 glyphs[i].index = it_info->index;
1631 glyphs[i].x = it_info->x;
1632 glyphs[i].y = it_info->y;
1637 cairo_glyph_path(cr, glyphs, num_glyphs - num_invalid_glyphs);
1639 cairo_show_glyphs(cr, glyphs, num_glyphs - num_invalid_glyphs);
1643 g_free(glyphs);