/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontMetrics.h | 50 float floatAscent(FontBaseline baselineType = AlphabeticBaseline) const 52 if (baselineType == AlphabeticBaseline) 59 float floatDescent(FontBaseline baselineType = AlphabeticBaseline) const 61 if (baselineType == AlphabeticBaseline) 68 float floatHeight(FontBaseline baselineType = AlphabeticBaseline) const 70 return floatAscent(baselineType) + floatDescent(baselineType); 90 int ascent(FontBaseline baselineType = AlphabeticBaseline) const 92 if (baselineType == AlphabeticBaseline) 97 int descent(FontBaseline baselineType = AlphabeticBaseline) const 99 if (baselineType == AlphabeticBaseline) [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | VerticalPositionCache.h | 45 int get(RenderObject* renderer, FontBaseline baselineType) const in get() argument 47 …const HashMap<RenderObject*, int>& mapToCheck = baselineType == AlphabeticBaseline ? m_alphabeticP… in get() 54 void set(RenderObject* renderer, FontBaseline baselineType, int position) in set() argument 56 if (baselineType == AlphabeticBaseline) in set()
|
D | RootInlineBox.cpp | 93 int RootInlineBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 95 …return boxModelObject()->baselinePosition(baselineType, isFirstLineStyle(), isHorizontal() ? Horiz… in baselinePosition() 221 textBoxDataMap, baselineType(), verticalPositionCache); in alignBoxesInBlockDirection() 236 …ingMargins, lineBottomIncludingMargins, hasAnnotationsBefore, hasAnnotationsAfter, baselineType()); in alignBoxesInBlockDirection() 616 ascent = box->baselinePosition(baselineType()); in ascentAndDescentForBox() 644 int usedFontAscent = fontMetrics.ascent(baselineType()); in ascentAndDescentForBox() 645 int usedFontDescent = fontMetrics.descent(baselineType()); in ascentAndDescentForBox() 666 int ascentWithLeading = box->baselinePosition(baselineType()); in ascentAndDescentForBox() 679 … int fontAscent = box->renderer().style(isFirstLineStyle())->fontMetrics().ascent(baselineType()); in ascentAndDescentForBox() 680 …int fontDescent = box->renderer().style(isFirstLineStyle())->fontMetrics().descent(baselineType()); in ascentAndDescentForBox() [all …]
|
D | RenderTextControlMultiLine.cpp | 73 int RenderTextControlMultiLine::baselinePosition(FontBaseline baselineType, bool firstLine, LineDir… in baselinePosition() argument 75 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | RootInlineBox.h | 112 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL; 147 FontBaseline baselineType() const { return static_cast<FontBaseline>(m_baselineType); } in baselineType() function
|
D | InlineBox.cpp | 139 int InlineBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 141 …return boxModelObject()->baselinePosition(baselineType, m_bitfields.firstLine(), isHorizontal() ? … in baselinePosition()
|
D | InlineFlowBox.cpp | 516 … FontBaseline baselineType, VerticalPositionCache& verticalPositionCache) in computeLogicalBoxHeights() argument 606 baselineType, verticalPositionCache); in computeLogicalBoxHeights() 611 …IncludingMargins, bool& hasAnnotationsBefore, bool& hasAnnotationsAfter, FontBaseline baselineType) in placeBoxesInBlockDirection() argument 618 setLogicalTop(roundToInt(top + maxAscent - fontMetrics.ascent(baselineType))); in placeBoxesInBlockDirection() 647 LayoutUnit posAdjust = maxAscent - curr->baselinePosition(baselineType); in placeBoxesInBlockDirection() 658 … newLogicalTop += curr->baselinePosition(baselineType) - fontMetrics.ascent(baselineType); in placeBoxesInBlockDirection() 723 …udingMargins, lineBottomIncludingMargins, hasAnnotationsBefore, hasAnnotationsAfter, baselineType); in placeBoxesInBlockDirection()
|
D | RenderListMarker.cpp | 1483 int RenderListMarker::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode… in baselinePosition() argument 1487 …return m_listItem->baselinePosition(baselineType, firstLine, direction, PositionOfInteriorLineBoxe… in baselinePosition() 1488 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | InlineBox.h | 245 virtual int baselinePosition(FontBaseline baselineType) const;
|
D | InlineTextBox.cpp | 116 int InlineTextBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 121 return parent()->baselinePosition(baselineType); in baselinePosition() 122 …return toRenderBoxModelObject(renderer().parent())->baselinePosition(baselineType, isFirstLineStyl… in baselinePosition()
|
D | RenderTable.cpp | 1233 int RenderTable::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dire… in baselinePosition() argument 1243 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | RenderInline.cpp | 1300 int RenderInline::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dir… in baselinePosition() argument 1304 …return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fo… in baselinePosition()
|
D | RenderBlock.cpp | 3372 int RenderBlock::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dire… in baselinePosition() argument 3409 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition() 3417 …return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fo… in baselinePosition() 3438 …n firstLineBox()->logicalTop() + style(true)->fontMetrics().ascent(firstRootBox()->baselineType()); in firstLineBoxBaseline() 3478 …op() + style(lastLineBox() == firstLineBox())->fontMetrics().ascent(lastRootBox()->baselineType()); in lastLineBoxBaseline()
|
D | RenderBox.cpp | 4210 int RenderBox::baselinePosition(FontBaseline baselineType, bool /*firstLine*/, LineDirectionMode di… in baselinePosition() argument 4215 if (baselineType == AlphabeticBaseline) in baselinePosition()
|