Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontMetrics.h66 void setDescent(float descent) { m_descent = descent; } in setDescent() argument
97 int descent(FontBaseline baselineType = AlphabeticBaseline) const
106 return ascent(baselineType) + descent(baselineType);
114 … return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap(); in hasIdenticalAscentDescentAndLineGap()
/external/harfbuzz_ng/util/
Dview-cairo.cc80 double descent; in draw() local
82 descent = font_extents.height * (lines->len + .5); in draw()
84 descent = font_extents.height - font_extents.ascent; in draw()
85 cairo_translate (cr, v * descent, h * -descent); in draw()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp95 float descent; in platformInit() local
101 descent = -vdmxDescent; in platformInit()
104 descent = SkScalarRoundToInt(metrics.fDescent); in platformInit()
110 …if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.f… in platformInit()
111 ++descent; in platformInit()
118 m_fontMetrics.setDescent(descent); in platformInit()
132 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_instructions_view.cc52 int ascent = 0, descent = 0, height = 0, width = 0; in GetPreferredSize() local
59 descent = std::max(descent, pref.height() - baseline); in GetPreferredSize()
67 height = std::max(ascent + descent, height); in GetPreferredSize()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFontFaceElement.cpp233 int SVGFontFaceElement::descent() const in descent() function in WebCore::SVGFontFaceElement
243 int descent = static_cast<int>(ceilf(descentValue.toFloat())); in descent() local
244 return descent < 0 ? -descent : descent; in descent()
DSVGFontData.cpp84 float descent = svgFontFaceElement->descent() * scale; in initializeFontData() local
98 fontMetrics.setDescent(descent); in initializeFontData()
100 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); in initializeFontData()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRootInlineBox.cpp602 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& asc… in setAscentAndDescent() argument
607 descent = newDescent; in setAscentAndDescent()
610 descent = max(descent, newDescent); in setAscentAndDescent()
614 …ForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, in ascentAndDescentForBox() argument
624 descent = box->lineHeight() - ascent; in ascentAndDescentForBox()
652 int usedFontDescent = fontMetrics.descent(baselineType()); in ascentAndDescentForBox()
657 … setAscentAndDescent(ascent, descent, usedFontAscent, usedFontDescent, ascentDescentSet); in ascentAndDescentForBox()
661 …setAscentAndDescent(ascent, descent, usedFontAscentAndLeading, usedFontDescentAndLeading, ascentDe… in ascentAndDescentForBox()
675 … setAscentAndDescent(ascent, descent, ascentWithLeading, descentWithLeading, ascentDescentSet); in ascentAndDescentForBox()
687 …int fontDescent = box->renderer().style(isFirstLineStyle())->fontMetrics().descent(baselineType()); in ascentAndDescentForBox()
[all …]
/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
133 if (pDescent > descent) { in Paragraph()
134 descent = pDescent; in Paragraph()
156 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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/ui/gfx/
Dfont_list_impl.cc226 int descent = 0; in CacheCommonFontHeightAndBaseline() local
231 descent = std::max(descent, i->GetHeight() - i->GetBaseline()); in CacheCommonFontHeightAndBaseline()
233 common_height_ = ascent + descent; in CacheCommonFontHeightAndBaseline()
Drender_text_mac.cc141 CGFloat descent = 0; in EnsureLayout() local
144 double width = CTLineGetTypographicBounds(line_, &ascent, &descent, &leading); in EnsureLayout()
153 descent = std::max(descent, font_list_height - font_list_baseline); in EnsureLayout()
154 string_size_ = SizeF(width, ascent + descent + leading); in EnsureLayout()
/external/chromium_org/third_party/WebKit/Source/web/
DWebFontImpl.cpp70 int WebFontImpl::descent() const in descent() function in blink::WebFontImpl
72 return m_font.fontMetrics().descent(); in descent()
/external/chromium_org/third_party/WebKit/Source/platform/
DDragImage.cpp140 …e(labelFont.width(labelRun), labelFont.fontMetrics().ascent() + labelFont.fontMetrics().descent()); in create()
152 urlStringSize.setHeight(urlFont.fontMetrics().ascent() + urlFont.fontMetrics().descent()); in create()
180 …s(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent())); in create()
/external/chromium_org/third_party/ots/src/
Dmetrics.cc19 !table->ReadS16(&header->descent) || in ParseMetricsHeader()
83 !out->WriteS16(header->descent) || in SerialiseMetricsHeader()
/external/skia/src/animator/
DSkDrawPaint.cpp22 SK_PROPERTY(descent)
39 SK_MEMBER_PROPERTY(descent, Float),
185 case SK_PROPERTY(descent): in getProperty()
/external/chromium_org/third_party/skia/src/animator/
DSkDrawPaint.cpp22 SK_PROPERTY(descent)
39 SK_MEMBER_PROPERTY(descent, Float),
185 case SK_PROPERTY(descent): in getProperty()
/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/chromium_org/third_party/WebKit/public/web/
DWebFont.h56 virtual int descent() const = 0;

1234