/external/webkit/WebCore/platform/graphics/chromium/ |
D | FontUtilsChromiumWin.cpp | 141 , ascent(kUndefinedAscent) in FontData() 147 int ascent; member 294 int* ascent, in getDerivedFontData() argument 324 derived->ascent = getAscent(derived->hfont); in getDerivedFontData() 330 if (kUndefinedAscent == derived->ascent) in getDerivedFontData() 331 derived->ascent = getAscent(derived->hfont); in getDerivedFontData() 334 *ascent = derived->ascent; in getDerivedFontData() 336 return *ascent != kUndefinedAscent; in getDerivedFontData()
|
D | UniscribeHelperTextRun.cpp | 53 setAscent(font.primaryFont()->ascent()); in UniscribeHelperTextRun() 89 int* ascent) in nextWinFontData() argument 123 m_ascents.append(simpleFontData->ascent()); in nextWinFontData() 129 *ascent = m_ascents[m_fontIndex - 1]; in nextWinFontData()
|
D | UniscribeHelper.h | 143 void setAscent(int ascent) in setAscent() argument 145 m_ascent = ascent; in setAscent() 345 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent) in nextWinFontData() argument
|
D | UniscribeHelper.cpp | 526 int ascent = m_ascent; in shape() local 590 if (nextWinFontData(&hfont, &scriptCache, &fontProperties, &ascent)) { in shape() 609 &ascent, &hfont, &scriptCache); in shape() 621 &ascent, &hfont, &scriptCache); in shape() 656 shaping.m_ascentOffset = m_ascent ? ascent - m_ascent : 0; in shape()
|
D | FontUtilsChromiumWin.h | 81 bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE…
|
D | UniscribeHelperTextRun.h | 69 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent);
|
/external/webkit/WebKit/win/ |
D | WebKitGraphics.cpp | 132 void FontMetrics(const WebFontDescription& description, int* ascent, int* descent, int* lineSpacing) in FontMetrics() argument 134 if (!ascent && !descent && !lineSpacing) in FontMetrics() 139 if (ascent) in FontMetrics() 140 *ascent = font.ascent(); in FontMetrics()
|
D | WebKitGraphics.h | 68 void FontMetrics(const WebFontDescription&, int* ascent, int* descent, int* lineSpacing);
|
/external/webkit/WebCore/rendering/ |
D | RenderListMarker.cpp | 681 int bulletWidth = font.ascent() / 2; in calcPrefWidths() 698 width = (font.ascent() * 2 / 3 + 1) / 2 + 2; in calcPrefWidths() 756 marginRight = font.ascent() - minPrefWidth() + 1; in updateMargins() 758 marginLeft = font.ascent() - minPrefWidth() + 1; in updateMargins() 770 int offset = font.ascent() * 2 / 3; in updateMargins() 787 int offset = font.ascent() * 2 / 3; in updateMargins() 819 return font.ascent() + (lineHeight(false) - font.height())/2; in baselinePosition() 840 int ascent = font.ascent(); in getRelativeMarkerRect() local 841 int bulletWidth = (ascent * 2 / 3 + 1) / 2; in getRelativeMarkerRect() 842 … return IntRect(x() + 1, y() + 3 * (ascent - ascent * 2 / 3) / 2, bulletWidth, bulletWidth); in getRelativeMarkerRect() [all …]
|
D | InlineFlowBox.cpp | 432 int ascent = baseline(); in computeLogicalBoxHeights() local 433 int descent = height() - ascent; in computeLogicalBoxHeights() 434 if (maxAscent < ascent) in computeLogicalBoxHeights() 435 maxAscent = ascent; in computeLogicalBoxHeights() 457 int ascent = curr->baseline() - curr->yPos(); in computeLogicalBoxHeights() local 458 int descent = curr->height() - ascent; in computeLogicalBoxHeights() 459 if (maxAscent < ascent) in computeLogicalBoxHeights() 460 maxAscent = ascent; in computeLogicalBoxHeights() 503 newBaseline = font.ascent(); in placeBoxesVertically() 553 setHeight(font.ascent() + font.descent()); in placeBoxesVertically() [all …]
|
D | RenderFlexibleBox.cpp | 396 int ascent = child->marginTop() + child->getBaselineOfFirstLineBox(); in layoutHorizontalBox() local 397 if (ascent == -1) in layoutHorizontalBox() 398 ascent = child->marginTop() + child->height() + child->marginBottom(); in layoutHorizontalBox() 399 … int descent = (child->marginTop() + child->height() + child->marginBottom()) - ascent; in layoutHorizontalBox() 402 maxAscent = max(maxAscent, ascent); in layoutHorizontalBox() 466 int ascent = child->marginTop() + child->getBaselineOfFirstLineBox(); in layoutHorizontalBox() local 467 if (ascent == -1) in layoutHorizontalBox() 468 ascent = child->marginTop() + child->height() + child->marginBottom(); in layoutHorizontalBox() 469 childY += child->marginTop() + (maxAscent - ascent); in layoutHorizontalBox()
|
D | SVGRootInlineBox.cpp | 150 return font.ascent(); in alignmentBaselineToShift() 164 return font.ascent() * 8.0f / 10.0f; in alignmentBaselineToShift() 166 return font.ascent() / 2.0f; in alignmentBaselineToShift() 219 yOrientationShift = font.ascent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 223 svgChar.orientationShiftY = -font.ascent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 228 svgChar.orientationShiftY = -font.ascent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 230 yOrientationShift = font.ascent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 232 svgChar.orientationShiftY = font.ascent() - font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 256 svgChar.orientationShiftY = font.ascent() - font.descent(); in calculateGlyphAdvanceAndShiftRespectingOrientation() 524 … decorationOrigin = IntPoint((int) (*it).x, (int) (*it).y - styleToUse->font().ascent()); in chunkPortionCallback() [all …]
|
D | RenderImage.cpp | 383 int ascent = font.ascent(); in paintReplaced() local 391 context->drawText(style()->font(), textRun, IntPoint(ax, ay + ascent)); in paintReplaced() 393 context->drawText(style()->font(), textRun, IntPoint(ax, ay + ascent)); in paintReplaced()
|
D | SVGInlineTextBox.cpp | 87 return style->font().ascent() + style->font().descent(); in calculateGlyphHeight() 108 float y1 = svgChar.y - font.ascent(); in calculateGlyphBoundaries() 475 IntPoint((int) svgChar.x, (int) svgChar.y - font.ascent()), in paintSelection() 476 … font.ascent() + font.descent(), color, startPos - adjust, endPos - adjust); in paintSelection()
|
/external/icu4c/samples/layout/ |
D | paragraph.cpp | 87 le_int32 ascent = 0; in Paragraph() local 129 if (pAscent > ascent) { in Paragraph() 130 ascent = pAscent; in Paragraph() 156 fLineHeight = ascent + descent + leading; in Paragraph() 157 fAscent = ascent; in Paragraph()
|
D | FontMap.cpp | 260 le_int32 ascent, descent, leading; in getMaxMetrics() local 270 ascent = fFontInstances[i]->getAscent(); in getMaxMetrics() 274 if (ascent > fAscent) { in getMaxMetrics() 275 fAscent = ascent; in getMaxMetrics()
|
D | pflow.c | 111 le_int32 ascent = 0; in pf_create() local 186 if (pAscent > ascent) { in pf_create() 187 ascent = pAscent; in pf_create() 213 flow->fLineHeight = ascent + descent + leading; in pf_create() 214 flow->fAscent = ascent; in pf_create()
|
/external/webkit/WebCore/platform/graphics/qt/ |
D | FontQt.cpp | 95 int ascent = fm.ascent(); in drawComplexText() local 96 QRectF clip(point.x() + x1, point.y() - ascent, x2 - x1, fm.height()); in drawComplexText() 115 QPointF pt(point.x(), point.y() - ascent); in drawComplexText()
|
D | SimpleFontDataQt.cpp | 45 m_ascent = fm.ascent(); in platformInit()
|
/external/webkit/WebCore/platform/graphics/ |
D | Font.h | 108 int ascent() const { return primaryFont()->ascent(); } in ascent() function 110 int height() const { return ascent() + descent(); } in height()
|
/external/skia/src/animator/ |
D | SkDrawPaint.cpp | 31 SK_PROPERTY(ascent), 47 SK_MEMBER_PROPERTY(ascent, Float), 192 case SK_PROPERTY(ascent): in getProperty()
|
/external/webkit/WebCore/svg/ |
D | SVGFontFaceElement.cpp | 205 return ascent(); in verticalOriginY() 224 int SVGFontFaceElement::ascent() const in ascent() function in WebCore::SVGFontFaceElement
|
D | SVGFontFaceElement.h | 53 int ascent() const;
|
/external/icu4c/layoutex/ |
D | ParagraphLayout.cpp | 724 le_int32 ascent = font->getAscent(); in computeMetrics() local 729 if (ascent > fAscent) { in computeMetrics() 730 fAscent = ascent; in computeMetrics() 1094 le_int32 ascent = fRuns[i]->getAscent(); in computeMetrics() local 1099 if (ascent > fAscent) { in computeMetrics() 1100 fAscent = ascent; in computeMetrics()
|
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/ |
D | non-kerned-drawing.cpp | 63 dc->DrawText(text, (wxCoord)point.x(), int(point.y() - font->ascent())); in drawTextWithSpacing()
|