Home
last modified time | relevance | path

Searched refs:descent (Results 1 – 25 of 76) sorted by relevance

1234

/external/ImageMagick/Magick++/lib/
DTypeMetric.cpp29 double Magick::TypeMetric::descent(void) const in descent() function in Magick::TypeMetric
31 return(_typeMetric.descent); in descent()
/external/icu/icu4c/source/samples/layout/
DFontMap.cpp260 le_int32 ascent, descent, leading; in getMaxMetrics() local
271 descent = fFontInstances[i]->getDescent(); in getMaxMetrics()
278 if (descent > fDescent) { in getMaxMetrics()
279 fDescent = descent; in getMaxMetrics()
Dparagraph.cpp88 le_int32 descent = 0; in Paragraph() local
134 if (pDescent > descent) { in Paragraph()
135 descent = pDescent; in Paragraph()
157 fLineHeight = ascent + descent + leading; in Paragraph()
Dpflow.c112 le_int32 descent = 0; in pf_create() local
190 if (pDescent > descent) { in pf_create()
191 descent = pDescent; in pf_create()
213 flow->fLineHeight = ascent + descent + leading; in pf_create()
/external/ImageMagick/MagickCore/
Dannotate.c349 height=(ssize_t) (metrics.ascent-metrics.descent+ in AnnotateImage()
364 (metrics.ascent+metrics.descent); in AnnotateImage()
375 annotate_info->affine.ry*(metrics.ascent+metrics.descent); in AnnotateImage()
387 annotate_info->affine.ry*(metrics.ascent+metrics.descent)-1.0; in AnnotateImage()
398 (metrics.ascent+metrics.descent-(number_lines-1.0)*height)/2.0; in AnnotateImage()
401 annotate_info->affine.sy*(metrics.ascent+metrics.descent- in AnnotateImage()
410 annotate_info->affine.ry*(metrics.ascent+metrics.descent- in AnnotateImage()
415 annotate_info->affine.sy*(metrics.ascent+metrics.descent- in AnnotateImage()
424 annotate_info->affine.ry*(metrics.ascent+metrics.descent- in AnnotateImage()
429 annotate_info->affine.sy*(metrics.ascent+metrics.descent- in AnnotateImage()
[all …]
Dmontage.c550 title_offset=(size_t) (2*(metrics.ascent-metrics.descent)* in MontageImageList()
609 (metrics.ascent-metrics.descent+4)*number_lines+ in MontageImageList()
652 metrics.descent+4)*number_lines+(montage_info->shadow != MagickFalse ? 4 : in MontageImageList()
687 (metrics.ascent-metrics.descent),0.0,(double) extract_info.y+4); in MontageImageList()
780 extract_info.height+=(size_t) ((metrics.ascent-metrics.descent+4)* in MontageImageList()
829 (metrics.ascent-metrics.descent+4)*MultilineCensus(value), in MontageImageList()
845 (metrics.ascent-metrics.descent+4)*number_lines+ in MontageImageList()
/external/mesa3d/src/mesa/drivers/x11/
Dxfonts.c57 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes); in dump_char_struct()
63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent); in dump_font_struct()
246 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in Fake_glXUseXFont()
328 height = ch->ascent + ch->descent; in Fake_glXUseXFont()
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */ in Fake_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()
327 y0 = ch->descent - 1; in DRI_glXUseXFont()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_usefont.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()
240 max_height = fs->max_bounds.ascent + fs->max_bounds.descent; in glXUseXFont()
322 height = ch->ascent + ch->descent; in glXUseXFont()
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */ in glXUseXFont()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pcf/
Dpcf.h89 FT_Byte descent; member
100 FT_Short descent; member
Dpcfread.c267 FT_FRAME_SHORT_LE( descent ),
284 FT_FRAME_SHORT( descent ),
303 FT_FRAME_BYTE( descent ),
342 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric()
709 metrics->descent, in pcf_get_metrics()
719 metrics->ascent + metrics->descent < 0 ) in pcf_get_metrics()
725 metrics->descent = 0; in pcf_get_metrics()
/external/harfbuzz_ng/util/
Dview-cairo.cc47 double descent = y_sign * -scalbn ((double) extents.descender, scale_bits); in render() local
89 y_sign < 0 ? descent : ascent); in render()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
DBitmapFont.java303 return data.descent; in getDescent()
444 public float descent; field in BitmapFont.BitmapFontData
546 descent = 0; in load()
594 if (glyph.width > 0 && glyph.height > 0) descent = Math.min(baseLine + glyph.yoffset, descent); in load()
596 descent += padBottom; in load()
875 descent *= y; in setScale()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp832 le_int32 descent = font->getDescent(); in computeMetrics() local
834 le_int32 dl = descent + leading; in computeMetrics()
840 if (descent > fDescent) { in computeMetrics()
841 fDescent = descent; in computeMetrics()
1243 le_int32 descent = fRuns[i]->getDescent(); in computeMetrics() local
1245 le_int32 dl = descent + leading; in computeMetrics()
1251 if (descent > fDescent) { in computeMetrics()
1252 fDescent = descent; in computeMetrics()
/external/skia/src/animator/
DSkDrawPaint.cpp22 SK_PROPERTY(descent)
39 SK_MEMBER_PROPERTY(descent, Float),
185 case SK_PROPERTY(descent): in getProperty()
/external/ImageMagick/Magick++/lib/Magick++/
DTypeMetric.h37 double descent(void) const;
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/bdf/
Dbdflib.c1944 glyph->bbx.descent = (short)( -glyph->bbx.y_offset ); in _bdf_parse_glyphs()
1949 p->maxds = (short)FT_MAX( glyph->bbx.descent, p->maxds ); in _bdf_parse_glyphs()
2094 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_properties()
2095 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_properties()
2101 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_properties()
2307 p->font->bbx.descent = (short)( -p->font->bbx.y_offset ); in _bdf_parse_start()
2421 p->font->font_descent = p->font->bbx.descent; in _bdf_parse_start()
2422 ft_sprintf( nbuf, "%hd", p->font->bbx.descent ); in _bdf_parse_start()
2427 FT_TRACE2(( "_bdf_parse_properties: " ACMSG2, p->font->bbx.descent )); in _bdf_parse_start()
2528 if ( p->font->bbx.descent != p->maxds ) in bdf_load_font()
[all …]
Dbdf.h141 short descent; member
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DFontUtils.java31 return (-metrics.ascent) + metrics.descent; in getFontHeight()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp374 info->fDescent = dwfm.descent; in onGetAdvancedTypefaceMetrics()
385 info->fDescent = dwfm.descent; in onGetAdvancedTypefaceMetrics()
415 info->fDescent = SkToS16(dwfm.descent); in onGetAdvancedTypefaceMetrics()
DSkFontHost_FreeType.cpp1321 SkScalar ascent, descent, leading, xmin, xmax, ymin, ymax; in generateFontMetrics() local
1331 descent = -SkIntToScalar(os2->sTypoDescender) / upem; in generateFontMetrics()
1335 descent = -SkIntToScalar(face->descender) / upem; in generateFontMetrics()
1366 descent = -SkIntToScalar(face->size->metrics.descender) / (yppem * 64.0f); in generateFontMetrics()
1368 + ascent - descent; in generateFontMetrics()
1371 ymin = descent + leading; in generateFontMetrics()
1372 ymax = ascent - descent; in generateFontMetrics()
1404 metrics->fDescent = descent * scale; in generateFontMetrics()
/external/libgdx/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/
DFreeTypeFontGenerator.java188 int descent = FreeType.toInt(fontMetrics.getDescender()); in scaleForPixelHeight() local
189 return height * height / (ascent - descent); in scaleForPixelHeight()
200 int descent = FreeType.toInt(fontMetrics.getDescender()); in scaleForPixelWidth() local
201 int unscaledHeight = ascent - descent; in scaleForPixelWidth()
308 data.descent = FreeType.toInt(fontMetrics.getDescender()); in generateData()
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/
DUnicodeFont.java68 private int ascent, descent, leading, spaceWidth; field in UnicodeFont
141 descent = metrics.getDescent(); in initializeFont()
561 return descent + ascent + leading + paddingTop + paddingBottom + paddingAdvanceY;
571 return descent;
/external/skia/resources/
Dslides.lua66 local height = #slide * (fm.descent - fm.ascent)
72 y = y + fm.descent * scale
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
DTextLabelWidget.java110 float vOffset = labelPaint.getFontMetrics().descent; in doOnDraw()

1234