Home
last modified time | relevance | path

Searched refs:ascent (Results 1 – 25 of 100) sorted by relevance

1234

/external/ImageMagick/coders/
Dcaption.c180 -metrics.bounds.x1,metrics.ascent); in ReadCAPTIONImage()
194 -metrics.bounds.x1,metrics.ascent); in ReadCAPTIONImage()
198 image->rows=(size_t) ((i+1)*(metrics.ascent-metrics.descent+ in ReadCAPTIONImage()
246 -metrics.bounds.x1,metrics.ascent); in ReadCAPTIONImage()
275 -metrics.bounds.x1,metrics.ascent); in ReadCAPTIONImage()
308 UndefinedGravity ? MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0)); in ReadCAPTIONImage()
Dlabel.c166 -metrics.bounds.x1,metrics.ascent); in ReadLABELImage()
196 -metrics.bounds.x1,metrics.ascent); in ReadLABELImage()
237 image->rows=(size_t) floor(metrics.ascent-metrics.descent+ in ReadLABELImage()
260 MagickMax(metrics.ascent,metrics.bounds.y2) : 0.0)); in ReadLABELImage()
/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp93 le_int32 ascent = 0; in Paragraph() local
136 if (pAscent > ascent) { in Paragraph()
137 ascent = pAscent; in Paragraph()
163 fLineHeight = ascent + descent + leading; in Paragraph()
164 fAscent = ascent; in Paragraph()
DFontMap.cpp264 le_int32 ascent, descent, leading; in getMaxMetrics() local
274 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
Dpflow.c114 le_int32 ascent = 0; in pf_create() local
189 if (pAscent > ascent) { in pf_create()
190 ascent = pAscent; in pf_create()
216 flow->fLineHeight = ascent + descent + leading; in pf_create()
217 flow->fAscent = ascent; in pf_create()
/external/mesa3d/src/mesa/drivers/x11/
Dxfonts.c50 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
239 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in Fake_glXUseXFont()
321 height = ch->ascent + ch->descent; in Fake_glXUseXFont()
330 y = ch->ascent; in Fake_glXUseXFont()
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_usefont.c52 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
58 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
242 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in glXUseXFont()
324 height = ch->ascent + ch->descent; in glXUseXFont()
333 y = ch->ascent; in glXUseXFont()
/external/mesa3d/src/glx/
Dxfont.c56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in DRI_glXUseXFont()
325 height = ch->ascent + ch->descent; in DRI_glXUseXFont()
333 y = ch->ascent; in DRI_glXUseXFont()
/external/ImageMagick/MagickCore/
Dannotate.c338 height=(ssize_t) (metrics.ascent-metrics.descent+ in AnnotateImage()
353 (metrics.ascent+metrics.descent); in AnnotateImage()
356 metrics.ascent; in AnnotateImage()
364 (metrics.ascent+metrics.descent); in AnnotateImage()
367 metrics.ascent-annotate_info->affine.rx*metrics.width/2.0; in AnnotateImage()
375 (metrics.ascent+metrics.descent)-1.0; in AnnotateImage()
378 metrics.ascent-annotate_info->affine.rx*metrics.width; in AnnotateImage()
385 (metrics.ascent+metrics.descent-(number_lines-1.0)*height)/2.0; in AnnotateImage()
388 annotate_info->affine.sy*(metrics.ascent+metrics.descent- in AnnotateImage()
397 (metrics.ascent+metrics.descent-(number_lines-1.0)*height)/2.0; in AnnotateImage()
[all …]
Dmontage.c551 title_offset=(size_t) (2*(metrics.ascent-metrics.descent)* in MontageImageList()
610 (metrics.ascent-metrics.descent+4)*number_lines+ in MontageImageList()
659 (extract_info.y+border_width)*2+(double) ((metrics.ascent- in MontageImageList()
693 (tile_metrics.ascent-tile_metrics.descent),0.0, in MontageImageList()
789 frame_clone.height+=(size_t) ((metrics.ascent-metrics.descent+4)* in MontageImageList()
835 (metrics.ascent-metrics.descent+4)*MultilineCensus(value), in MontageImageList()
851 (metrics.ascent-metrics.descent+4)*number_lines+ in MontageImageList()
/external/ImageMagick/Magick++/lib/
DTypeMetric.cpp25 double Magick::TypeMetric::ascent(void) const in ascent() function in Magick::TypeMetric
27 return(_typeMetric.ascent); in ascent()
/external/skia/modules/skottie/src/text/
DSkottieShaper.cpp147 const auto ascent = this->ascent(); in finalize() local
164 const auto typographical_top = fBox.fTop + ascent, in finalize()
181 v_offset = -ascent; in finalize()
233 const auto max_offset = fBox.height() + this->ascent(); // NB: ascent is negative in shapeLine()
308 SkScalar ascent() const { in ascent() function in skottie::__anon292beaaf0111::BlobMaker
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py117 fb.setupHorizontalHeader(ascent=824, descent=200)
146 fb.setupHorizontalHeader(ascent=824, descent=200)
183 fb.setupHorizontalHeader(ascent=824, descent=200)
231 fb.setupHorizontalHeader(ascent=824, descent=200)
302 fb.setupHorizontalHeader(ascent=824, descent=200)
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayBorderPanel.java419 int ascent = fm.getAscent(); in paint() local
430 if (ascent > thickness) in paint()
431 adjustment = (ascent - thickness) / 2; in paint()
480 g.drawString(text, offset, ascent); in paint()
/external/skia/resources/lua/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateApproximateWidths.java244 int ascent = metrics.getAscent(); in drawString() local
252 g.drawLine((int) x, (int) y + ascent, (int) (x + bounds.getWidth()), (int) y + ascent); in drawString()
255 g.drawString(mainString, (int) x, (int) y + ascent); in drawString()
/external/skqp/resources/lua/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
70 y = y - fm.ascent * scale
82 local x_offset = -fm.ascent * node.indent * 1.25
86 draw_bullet(canvas, x + x_offset, y - fm.ascent, paint, node.indent)
/external/harfbuzz_ng/util/
Dview-cairo.cc46 double ascent = y_sign * scalbn ((double) extents.ascender, scale_bits); in render() local
89 y_sign < 0 ? descent : ascent); in render()
/external/freetype/src/pcf/
Dpcf.h88 FT_Byte ascent; member
99 FT_Short ascent; member
Dpcfread.c276 FT_FRAME_SHORT_LE( ascent ),
293 FT_FRAME_SHORT( ascent ),
312 FT_FRAME_BYTE( ascent ),
351 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric()
363 metric->ascent, in pcf_get_metric()
792 metrics->ascent < -metrics->descent ) in pcf_get_metrics()
797 metrics->ascent = 0; in pcf_get_metrics()
1583 bsize->height = face->accel.maxbounds.ascent << 6; in pcf_load_font()
/external/wayland/cursor/
Dconvert_font.c47 int16_t left_bearing, right_bearing, ascent, descent; member
147 glyph->ascent = ((int16_t) m[i].character_ascent) - 0x80; in handle_compressed_metrics()
151 glyph->height = glyph->ascent + glyph->descent; in handle_compressed_metrics()
154 glyph->hoty = glyph->ascent; in handle_compressed_metrics()
/external/noto-fonts/other/
Dadjust_vertical_metrics.py26 font['hhea'].ascent = 1900
/external/ImageMagick/Magick++/lib/Magick++/
DTypeMetric.h33 double ascent(void) const;
/external/freetype/src/bdf/
Dbdflib.c1667 glyph->bbx.ascent = (short)( glyph->bbx.height + glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1672 p->maxas = (short)FT_MAX( glyph->bbx.ascent, p->maxas ); in _bdf_parse_glyphs()
1798 p->font->font_ascent = p->font->bbx.ascent; in _bdf_parse_properties()
1799 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_properties()
1805 FT_TRACE2(( "_bdf_parse_properties: " ACMSG1, p->font->bbx.ascent )); in _bdf_parse_properties()
2029 p->font->bbx.ascent = (short)( p->font->bbx.height + in _bdf_parse_start()
2138 p->font->font_ascent = p->font->bbx.ascent; in _bdf_parse_start()
2139 ft_sprintf( nbuf, "%hd", p->font->bbx.ascent ); in _bdf_parse_start()
2144 FT_TRACE2(( "_bdf_parse_properties: " ACMSG1, p->font->bbx.ascent )); in _bdf_parse_start()
2240 if ( p->font->bbx.ascent != p->maxas ) in bdf_load_font()
[all …]

1234