Searched refs:metrics (Results 1 - 4 of 4) sorted by relevance

/inkscape/src/display/
H A Dnr-svgfonts.h40 cairo_status_t scaled_font_init (cairo_scaled_font_t *scaled_font, cairo_font_extents_t *metrics);
42 cairo_status_t scaled_font_render_glyph (cairo_scaled_font_t *scaled_font, unsigned long glyph, cairo_t *cr, cairo_text_extents_t *metrics);
H A Dnr-svgfonts.cpp46 cairo_t * /*cairo*/, cairo_font_extents_t *metrics){
49 return instance->scaled_font_init(scaled_font, metrics);
68 cairo_text_extents_t *metrics){
71 return instance->scaled_font_render_glyph(scaled_font, glyph, cr, metrics);
94 cairo_font_extents_t */*metrics*/)
97 // metrics->ascent = .75;
98 // metrics->descent = .25;
292 cairo_text_extents_t */*metrics*/)
45 font_init_cb(cairo_scaled_font_t *scaled_font, cairo_t * , cairo_font_extents_t *metrics) argument
65 font_render_glyph_cb(cairo_scaled_font_t *scaled_font, unsigned long glyph, cairo_t *cr, cairo_text_extents_t *metrics) argument
/inkscape/src/libnrtype/
H A DFontInstance.cpp390 GLYPHMETRICS metrics; local
391 DWORD bufferSize=GetGlyphOutline (parent->hScreenDC, glyph_id, GGO_GLYPH_INDEX | GGO_NATIVE | GGO_UNHINTED, &metrics, 0, NULL, &identity);
393 n_g.h_advance = metrics.gmCellIncX * scale;
395 n_g.h_width = metrics.gmBlackBoxX * scale;
396 n_g.v_width = metrics.gmBlackBoxY * scale;
404 if ( GetGlyphOutline (parent->hScreenDC, glyph_id, GGO_GLYPH_INDEX | GGO_NATIVE | GGO_UNHINTED, &metrics, bufferSize, buffer, &identity) <= 0 ) {
469 n_g.h_advance=((double)theFace->glyph->metrics.horiAdvance)/((double)theFace->units_per_EM);
470 n_g.h_width=((double)theFace->glyph->metrics.width)/((double)theFace->units_per_EM);
475 n_g.v_advance=((double)theFace->glyph->metrics.vertAdvance)/((double)theFace->units_per_EM);
476 n_g.v_width=((double)theFace->glyph->metrics
720 GLYPHMETRICS metrics; local
[all...]
/inkscape/src/ui/widget/
H A Dgimpspinscale.c305 PangoFontMetrics *metrics; local
311 metrics = pango_context_get_metrics (context,
321 char_width = pango_font_metrics_get_approximate_char_width (metrics);
322 digit_width = pango_font_metrics_get_approximate_digit_width (metrics);
330 pango_font_metrics_unref (metrics);
339 PangoFontMetrics *metrics; local
346 metrics = pango_context_get_metrics (context,
350 //height = PANGO_PIXELS (pango_font_metrics_get_ascent (metrics) +
351 // pango_font_metrics_get_descent (metrics));
356 pango_font_metrics_unref (metrics);
366 PangoFontMetrics *metrics; local
[all...]

Completed in 19 milliseconds