Home
last modified time | relevance | path

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

123

/external/webkit/WebCore/platform/wx/wxcode/gtk/
Dfontprops.cpp55 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/WebKit/win/
DWebKitGraphics.cpp132 void FontMetrics(const WebFontDescription& description, int* ascent, int* descent, int* lineSpacing) in FontMetrics() argument
134 if (!ascent && !descent && !lineSpacing) in FontMetrics()
142 if (descent) in FontMetrics()
143 *descent = font.descent(); in FontMetrics()
DWebKitGraphics.h68 void FontMetrics(const WebFontDescription&, int* ascent, int* descent, int* lineSpacing);
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dfontprops.mm39 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
109 wxCoord *descent, wxCoord *externalLeading )
115 wxDouble width, height, descent, externalLeading;
117 gc->GetTextExtent(str, &e.width, &e.height, &e.descent, &e.externalLeading);
122 if ( descent )
123 *descent = wxCoord(e.descent + .5);
/external/webkit/WebCore/svg/
DSVGFontFaceElement.cpp237 int SVGFontFaceElement::descent() const in descent() function in WebCore::SVGFontFaceElement
247 int descent = static_cast<int>(ceilf(descentValue.toFloat())); in descent() local
248 return descent < 0 ? -descent : descent; in descent()
DSVGFontFaceElement.h54 int descent() const;
/external/icu4c/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/webkit/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp110 wxCoord *descent, wxCoord *externalLeading ) in GetTextExtent() argument
170 if (descent) in GetTextExtent()
171 *descent = tm.tmDescent; in GetTextExtent()
/external/webkit/WebCore/platform/graphics/
DFont.h118 int descent() const { return primaryFont()->descent(); } in descent() function
119 int height() const { return ascent() + descent(); } in height()
DSimpleFontData.cpp74 m_descent = static_cast<int>(svgFontFaceElement->descent() * scale); in SimpleFontData()
/external/webkit/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp248 return IntRect(m_point.x() - (m_font->ascent() + m_font->descent()) / 2, in estimateTextBounds()
250 totalWidth + m_font->ascent() + m_font->descent(), in estimateTextBounds()
355 return IntRect(left - (m_font->ascent() + m_font->descent()) / 2, in estimateTextBounds()
357 (right - left) + m_font->ascent() + m_font->descent(), in estimateTextBounds()
/external/webkit/WebCore/rendering/
DInlineFlowBox.cpp397 int descent = height - ascent; in computeLogicalBoxHeights() local
400 if (maxDescent < descent) in computeLogicalBoxHeights()
401 maxDescent = descent; in computeLogicalBoxHeights()
424 …halfLeading = (usedFonts[i]->lineSpacing() - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; in computeLogicalBoxHeights()
426 …tom, usedFonts[i]->lineSpacing() - usedFonts[i]->ascent() - usedFonts[i]->descent() - halfLeading); in computeLogicalBoxHeights()
433 … int halfLeading = (lineHeight - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; in computeLogicalBoxHeights()
440 … int halfLeading = (lineHeight - usedFonts[i]->ascent() - usedFonts[i]->descent()) / 2; in computeLogicalBoxHeights()
458 int descent = lineHeight - ascent; in computeLogicalBoxHeights() local
461 if (maxDescent < descent) in computeLogicalBoxHeights()
462 maxDescent = descent; in computeLogicalBoxHeights()
DSVGRootInlineBox.cpp160 return font.descent(); in alignmentBaselineToShift()
222 yOrientationShift = font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
226 yOrientationShift = font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
232 svgChar.orientationShiftY = font.ascent() - font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
245 yOrientationShift = -font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
246 svgChar.orientationShiftX = -glyphWidth / 2.0f - font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
247 svgChar.orientationShiftY = font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
250 yOrientationShift = -font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
251 svgChar.orientationShiftX = -glyphWidth / 2.0f + font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
256 svgChar.orientationShiftY = font.ascent() - font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation()
[all …]
DSVGInlineTextBox.cpp84 return style->font().ascent() + style->font().descent(); in calculateGlyphHeight()
106 float y2 = svgChar.y + font.descent(); in calculateGlyphBoundaries()
523 … font.ascent() + font.descent(), color, style->colorSpace(), startPos - adjust, endPos - adjust); in paintSelection()
/external/icu4c/layoutex/
DParagraphLayout.cpp804 le_int32 descent = font->getDescent(); in computeMetrics() local
806 le_int32 dl = descent + leading; in computeMetrics()
812 if (descent > fDescent) { in computeMetrics()
813 fDescent = descent; in computeMetrics()
1215 le_int32 descent = fRuns[i]->getDescent(); in computeMetrics() local
1217 le_int32 dl = descent + leading; in computeMetrics()
1223 if (descent > fDescent) { in computeMetrics()
1224 fDescent = descent; in computeMetrics()
/external/skia/src/animator/
DSkDrawPaint.cpp32 SK_PROPERTY(descent)
49 SK_MEMBER_PROPERTY(descent, Float),
195 case SK_PROPERTY(descent): in getProperty()
/external/webkit/WebKit/win/WebCoreSupport/
DWebDragClient.cpp250 IntSize labelSize(labelFont->width(labelRun), labelFont->ascent() + labelFont->descent()); in createDragImageForLink()
263 urlStringSize.setHeight(urlFont->ascent() + urlFont->descent()); in createDragImageForLink()
306 …xtPos(DRAG_LABEL_BORDER_X, imageSize.height() - (DRAG_LABEL_BORDER_Y_OFFSET + urlFont->descent())); in createDragImageForLink()
/external/webkit/WebCore/platform/wx/wxcode/
Dfontprops.h30 wxCoord *descent = NULL, wxCoord *externalLeading = NULL );
/external/webkit/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp46 m_descent = fm.descent(); in platformInit()
/external/webkit/WebCore/platform/graphics/haiku/
DSimpleFontDataHaiku.cpp55 m_descent = static_cast<int>(height.descent); in platformInit()
/external/webkit/WebCore/platform/graphics/gtk/
DSimpleFontDataGtk.cpp52 m_descent = static_cast<int>(lroundf(font_extents.descent)); in platformInit()
DSimpleFontDataPango.cpp53 m_descent = static_cast<int>(lroundf(font_extents.descent)); in platformInit()
/external/skia/src/views/
DSkListView.cpp375 SkScalar ascent, descent;
376 fPaint[kNormalText_Attr].measureText(0, NULL, &ascent, &descent);
377 y = SkScalarHalf(fRowHeight - descent + ascent) - ascent;

123