/external/webkit/Source/WebCore/platform/graphics/qt/ |
D | SimpleFontDataQt.cpp | 54 float descent = fm.descent() + 1; in platformInit() local 62 if (lineSpacing < ascent + descent) in platformInit() 63 lineSpacing = ascent + descent; in platformInit() 67 float lineGap = lineSpacing - ascent - descent; in platformInit() 70 m_fontMetrics.setDescent(descent); in platformInit()
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | FontMetrics.h | 60 void setDescent(float descent) { m_descent = descent; } in setDescent() argument 84 int descent(FontBaseline baselineType = AlphabeticBaseline) const 93 return ascent(baselineType) + descent(baselineType); 101 … return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap(); in hasIdenticalAscentDescentAndLineGap()
|
D | SimpleFontData.cpp | 86 float descent = svgFontFaceElement->descent() * scale; in SimpleFontData() local 99 m_fontMetrics.setDescent(descent); in SimpleFontData() 101 m_fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap)); in SimpleFontData()
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
D | fontprops.cpp | 55 m_descent = static_cast<int>(font_extents.descent); in wxFontProperties() 103 wxCoord *descent, wxCoord *externalLeading ) in GetTextExtent() argument 109 if ( descent ) in GetTextExtent() 110 *descent = 0; in GetTextExtent() 160 if (descent) in GetTextExtent() 165 *descent = h - PANGO_PIXELS(baseline); in GetTextExtent()
|
/external/webkit/Source/WebKit/win/ |
D | WebKitGraphics.cpp | 128 void FontMetrics(const WebFontDescription& description, int* ascent, int* descent, int* lineSpacing) in FontMetrics() argument 130 if (!ascent && !descent && !lineSpacing) in FontMetrics() 139 if (descent) in FontMetrics() 140 *descent = fontMetrics.descent(); in FontMetrics()
|
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
D | SimpleFontDataFreeType.cpp | 55 m_fontMetrics.setDescent(font_extents.descent); in platformInit() 63 if (lineSpacing < font_extents.ascent + font_extents.descent) in platformInit() 64 lineSpacing = font_extents.ascent + font_extents.descent; in platformInit() 67 m_fontMetrics.setLineGap(lineSpacing - font_extents.ascent - font_extents.descent); in platformInit()
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
D | SimpleFontDataPango.cpp | 54 m_fontMetrics.setDescent(font_extents.descent); in platformInit() 62 if (lineSpacing < font_extents.ascent + font_extents.descent) in platformInit() 63 lineSpacing = font_extents.ascent + font_extents.descent; in platformInit() 65 m_fontMetrics.setLineGap(lineSpacing - font_extents.ascent - font_extents.descent); in platformInit()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bar_instructions_view.cc | 40 int ascent = 0, descent = 0, height = 0, width = 0; in GetPreferredSize() local 47 descent = std::max(descent, pref.height() - baseline); in GetPreferredSize() 55 height = std::max(ascent + descent, height); in GetPreferredSize()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataLinux.cpp | 87 float descent; in platformInit() local 93 descent = -vdmxDescent; in platformInit() 97 descent = SkScalarRound(height) - ascent; in platformInit() 101 m_fontMetrics.setDescent(descent); in platformInit() 114 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
|
D | SimpleFontDataChromiumWin.cpp | 82 float descent = textMetric.tmDescent; in platformInit() local 97 m_fontMetrics.setDescent(descent); in platformInit() 100 m_fontMetrics.setLineSpacing(ascent + descent + lineGap); in platformInit()
|
/external/webkit/Source/WebCore/rendering/ |
D | RootInlineBox.cpp | 551 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& asc… in setAscentAndDescent() argument 556 descent = newDescent; in setAscentAndDescent() 559 descent = max(descent, newDescent); in setAscentAndDescent() 563 …ForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, in ascentAndDescentForBox() argument 573 descent = box->lineHeight() - ascent; in ascentAndDescentForBox() 601 int usedFontDescent = fontMetrics.descent(baselineType()); in ascentAndDescentForBox() 606 … setAscentAndDescent(ascent, descent, usedFontAscent, usedFontDescent, ascentDescentSet); in ascentAndDescentForBox() 610 …setAscentAndDescent(ascent, descent, usedFontAscentAndLeading, usedFontDescentAndLeading, ascentDe… in ascentAndDescentForBox() 624 … setAscentAndDescent(ascent, descent, ascentWithLeading, descentWithLeading, ascentDescentSet); in ascentAndDescentForBox() 636 int fontDescent = box->renderer()->style(m_firstLine)->fontMetrics().descent(); in ascentAndDescentForBox() [all …]
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
D | fontprops.mm | 102 wxCoord *descent, wxCoord *externalLeading ) 109 wxDouble width, height, descent, externalLeading; 111 gc->GetTextExtent(str, &e.width, &e.height, &e.descent, &e.externalLeading); 116 if ( descent ) 117 *descent = wxCoord(e.descent + .5);
|
/external/webkit/Source/WebCore/svg/ |
D | SVGFontFaceElement.cpp | 235 int SVGFontFaceElement::descent() const in descent() function in WebCore::SVGFontFaceElement 245 int descent = static_cast<int>(ceilf(descentValue.toFloat())); in descent() local 246 return descent < 0 ? -descent : descent; in descent()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | SimpleFontDataCairoWin.cpp | 66 float descent = textMetrics.tmDescent * metricsMultiplier; in platformInit() local 70 m_fontMetrics.setDescent(descent); in platformInit() 72 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
|
D | SimpleFontDataWin.cpp | 80 float descent = textMetrics.tmDescent; in initGDIFont() local 83 m_fontMetrics.setDescent(descent); in initGDIFont() 85 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in initGDIFont()
|
/external/icu4c/samples/layout/ |
D | FontMap.cpp | 260 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()
|
D | paragraph.cpp | 88 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()
|
D | pflow.c | 112 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/webkit/Source/WebCore/platform/wx/wxcode/win/ |
D | fontprops.cpp | 110 wxCoord *descent, wxCoord *externalLeading ) in GetTextExtent() argument 170 if (descent) in GetTextExtent() 171 *descent = tm.tmDescent; in GetTextExtent()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | SimpleFontDataWinCE.cpp | 53 float descent = (tm.tmDescent * m_platformData.size() + 36) / 72.0f; in platformInit() local 56 m_fontMetrics.setDescent(descent); in platformInit() 58 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); in platformInit()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebFontImpl.cpp | 70 int WebFontImpl::descent() const in descent() function in WebKit::WebFontImpl 72 return m_font.fontMetrics().descent(); in descent()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | SimpleFontDataHaiku.cpp | 52 m_fontMetrics.setDescent(height.descent); in platformInit() 55 …m_fontMetrics.setLineSpacing(lroundf(height.ascent) + lroundf(height.descent) + lroundf(height.lea… in platformInit()
|
/external/webkit/Source/WebCore/platform/win/ |
D | DragImageWin.cpp | 160 …abelFont->width(labelRun), labelFont->fontMetrics().ascent() + labelFont->fontMetrics().descent()); in createDragImageForLink() 172 … urlStringSize.setHeight(urlFont->fontMetrics().ascent() + urlFont->fontMetrics().descent()); in createDragImageForLink() 214 …os(DragLabelBorderX, imageSize.height() - (LabelBorderYOffset + urlFont->fontMetrics().descent())); in createDragImageForLink()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | SimpleFontDataMac.mm | 233 float descent = -scaleEmToUnits(iDescent, unitsPerEm) * pointSize; 243 ascent += floorf(((ascent + descent) * 0.15f) + 0.5f); 246 // Geeza Pro has glyphs that draw slightly above the ascent or far below the descent. Adjust 250 descent *= 2.f; 255 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap)); 259 if (descent < 3 && lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) { 260 lineGap -= 3 - descent; 261 descent = 3; 293 m_fontMetrics.setDescent(descent);
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 24 SK_PROPERTY(descent) 41 SK_MEMBER_PROPERTY(descent, Float), 187 case SK_PROPERTY(descent): in getProperty()
|