/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
D | FontMetrics.h | 48 float floatAscent(FontBaseline baselineType = AlphabeticBaseline) const 50 if (baselineType == AlphabeticBaseline) 57 float floatDescent(FontBaseline baselineType = AlphabeticBaseline) const 59 if (baselineType == AlphabeticBaseline) 66 float floatHeight(FontBaseline baselineType = AlphabeticBaseline) const 68 return floatAscent(baselineType) + floatDescent(baselineType); 88 int ascent(FontBaseline baselineType = AlphabeticBaseline) const 90 if (baselineType == AlphabeticBaseline) 95 int descent(FontBaseline baselineType = AlphabeticBaseline) const 97 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 | 104 int RootInlineBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 106 …return boxModelObject()->baselinePosition(baselineType, isFirstLineStyle(), isHorizontal() ? Horiz… in baselinePosition() 254 textBoxDataMap, baselineType(), verticalPositionCache); in alignBoxesInBlockDirection() 268 …ingMargins, lineBottomIncludingMargins, hasAnnotationsBefore, hasAnnotationsAfter, baselineType()); in alignBoxesInBlockDirection() 362 LayoutUnit lineGridFontAscent = lineGrid->style()->fontMetrics().ascent(baselineType()); in lineSnapAdjustment() 369 LayoutUnit currentFontAscent = block()->style()->fontMetrics().ascent(baselineType()); in lineSnapAdjustment() 740 ascent = box->baselinePosition(baselineType()); in ascentAndDescentForBox() 768 int usedFontAscent = fontMetrics.ascent(baselineType()); in ascentAndDescentForBox() 769 int usedFontDescent = fontMetrics.descent(baselineType()); in ascentAndDescentForBox() 790 int ascentWithLeading = box->baselinePosition(baselineType()); in ascentAndDescentForBox() [all …]
|
D | RenderTextControlMultiLine.cpp | 75 int RenderTextControlMultiLine::baselinePosition(FontBaseline baselineType, bool firstLine, LineDir… in baselinePosition() argument 77 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | RootInlineBox.h | 117 virtual int baselinePosition(FontBaseline baselineType) const OVERRIDE FINAL; 152 FontBaseline baselineType() const { return static_cast<FontBaseline>(m_baselineType); } in baselineType() function
|
D | InlineBox.cpp | 138 int InlineBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 140 …return boxModelObject()->baselinePosition(baselineType, m_bitfields.firstLine(), isHorizontal() ? … in baselinePosition()
|
D | InlineFlowBox.cpp | 504 … FontBaseline baselineType, VerticalPositionCache& verticalPositionCache) in computeLogicalBoxHeights() argument 594 baselineType, verticalPositionCache); in computeLogicalBoxHeights() 599 …IncludingMargins, bool& hasAnnotationsBefore, bool& hasAnnotationsAfter, FontBaseline baselineType) in placeBoxesInBlockDirection() argument 606 setLogicalTop(roundToInt(top + maxAscent - fontMetrics.ascent(baselineType))); in placeBoxesInBlockDirection() 635 LayoutUnit posAdjust = maxAscent - curr->baselinePosition(baselineType); in placeBoxesInBlockDirection() 646 … newLogicalTop += curr->baselinePosition(baselineType) - fontMetrics.ascent(baselineType); in placeBoxesInBlockDirection() 709 …udingMargins, lineBottomIncludingMargins, hasAnnotationsBefore, hasAnnotationsAfter, baselineType); in placeBoxesInBlockDirection()
|
D | RenderListBox.cpp | 267 int RenderListBox::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode li… in baselinePosition() argument 269 …return RenderBox::baselinePosition(baselineType, firstLine, lineDirection, linePositionMode) - bas… in baselinePosition()
|
D | RenderListMarker.cpp | 1672 int RenderListMarker::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode… in baselinePosition() argument 1676 …return m_listItem->baselinePosition(baselineType, firstLine, direction, PositionOfInteriorLineBoxe… in baselinePosition() 1677 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | InlineBox.h | 241 virtual int baselinePosition(FontBaseline baselineType) const;
|
D | InlineTextBox.cpp | 105 int InlineTextBox::baselinePosition(FontBaseline baselineType) const in baselinePosition() 110 return parent()->baselinePosition(baselineType); in baselinePosition() 111 …return toRenderBoxModelObject(renderer()->parent())->baselinePosition(baselineType, isFirstLineSty… in baselinePosition()
|
D | RenderTable.cpp | 1331 int RenderTable::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dire… in baselinePosition() argument 1338 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition()
|
D | RenderInline.cpp | 1299 int RenderInline::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dir… in baselinePosition() argument 1303 …return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fo… in baselinePosition()
|
D | RenderBlock.cpp | 4521 int RenderBlock::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode dire… in baselinePosition() argument 4558 return RenderBox::baselinePosition(baselineType, firstLine, direction, linePositionMode); in baselinePosition() 4566 …return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fo… in baselinePosition() 4587 …n firstLineBox()->logicalTop() + style(true)->fontMetrics().ascent(firstRootBox()->baselineType()); in firstLineBoxBaseline() 4627 …op() + style(lastLineBox() == firstLineBox())->fontMetrics().ascent(lastRootBox()->baselineType()); in lastLineBoxBaseline()
|
D | RenderBox.cpp | 4640 int RenderBox::baselinePosition(FontBaseline baselineType, bool /*firstLine*/, LineDirectionMode di… in baselinePosition() argument 4645 if (baselineType == AlphabeticBaseline) in baselinePosition()
|