Home
last modified time | relevance | path

Searched refs:boxRect (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.h102 static AffineTransform rotation(const FloatRect& boxRect, RotationDirection);
205 inline AffineTransform InlineTextBox::rotation(const FloatRect& boxRect, RotationDirection rotation… in rotation() argument
207 …tion == Clockwise ? AffineTransform(0, 1, -1, 0, boxRect.x() + boxRect.maxY(), boxRect.maxY() - bo… in rotation()
208 : AffineTransform(0, -1, 1, 0, boxRect.x() - boxRect.maxY(), boxRect.x() + boxRect.maxY()); in rotation()
DInlineTextBox.cpp395 const FloatPoint& textOrigin, const FloatRect& boxRect, in paintTextWithShadows() argument
416 textRunPaintInfo.bounds = boxRect; in paintTextWithShadows()
526 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), logicalHeight())); in paint() local
532 context->concatCTM(rotation(boxRect, Clockwise)); in paint()
634 combinedText->adjustTextOrigin(textOrigin, boxRect); in paint()
697 …endererToUse, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRect, textShadow, text… in paint()
699 …ndererToUse, font, textRun, nullAtom, 0, ePos, sPos, length, textOrigin, boxRect, textShadow, text… in paint()
707 …FloatPoint emphasisMarkTextOrigin = combinedText ? FloatPoint(boxOrigin.x() + boxRect.width() / 2,… in paint()
709 context->concatCTM(rotation(boxRect, Clockwise)); in paint()
713 …asisMark, emphasisMarkOffset, 0, length, length, emphasisMarkTextOrigin, boxRect, textShadow, text… in paint()
[all …]
DRenderCombineText.cpp69 void RenderCombineText::adjustTextOrigin(FloatPoint& textOrigin, const FloatRect& boxRect) const in adjustTextOrigin()
72 …textOrigin.move(boxRect.height() / 2 - ceilf(m_combinedTextWidth) / 2, style()->font().pixelSize()… in adjustTextOrigin()
DEllipsisBox.cpp47 FloatRect boxRect(boxOrigin, LayoutSize(logicalWidth(), virtualLogicalHeight())); in paint() local
50 context->concatCTM(InlineTextBox::rotation(boxRect, InlineTextBox::Clockwise)); in paint()
86 textRunPaintInfo.bounds = boxRect; in paint()
DRenderVTTCue.cpp144 IntRect boxRect = box->absoluteBoundingBoxRect(); in isOverlapping() local
146 if (absoluteBoundingBoxRect().intersects(boxRect)) in isOverlapping()
DRenderCombineText.h34 void adjustTextOrigin(FloatPoint& textOrigin, const FloatRect& boxRect) const;
DInlineBox.cpp296 IntRect boxRect(left(), 0, m_logicalWidth, 10); in canAccommodateEllipsis() local
298 return !(boxRect.intersects(ellipsisRect)); in canAccommodateEllipsis()
DRenderFlowThread.cpp554 LayoutRect boxRect = transformState.mappedQuad().enclosingBoundingBox(); in mapFromFlowToRegion() local
555 flipForWritingMode(boxRect); in mapFromFlowToRegion()
561 LayoutPoint center = boxRect.center(); in mapFromFlowToRegion()
DRenderBlock.cpp2931 LayoutRect boxRect = borderBoxRectInRegion(region); in logicalLeftOffsetForContent() local
2932 return logicalLeftOffset + (isHorizontalWritingMode() ? boxRect.x() : boxRect.y()); in logicalLeftOffsetForContent()
2941 LayoutRect boxRect = borderBoxRectInRegion(region); in logicalRightOffsetForContent() local
2942 …icalRightOffset - (logicalWidth() - (isHorizontalWritingMode() ? boxRect.maxX() : boxRect.maxY())); in logicalRightOffsetForContent()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRootInlineBox.cpp137 FloatRect boxRect; in layoutChildBoxes() local
143 boxRect = textBox->calculateBoundaries(); in layoutChildBoxes()
144 textBox->setX(boxRect.x()); in layoutChildBoxes()
145 textBox->setY(boxRect.y()); in layoutChildBoxes()
146 textBox->setLogicalWidth(boxRect.width()); in layoutChildBoxes()
147 textBox->setLogicalHeight(boxRect.height()); in layoutChildBoxes()
156 boxRect = flowBox->calculateBoundaries(); in layoutChildBoxes()
157 flowBox->setX(boxRect.x()); in layoutChildBoxes()
158 flowBox->setY(boxRect.y()); in layoutChildBoxes()
159 flowBox->setLogicalWidth(boxRect.width()); in layoutChildBoxes()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
DScrollingConstraints.cpp50 FloatRect boxRect = m_absoluteStickyBoxRect; in computeStickyOffset() local
59 boxRect.move(rightDelta, 0); in computeStickyOffset()
69 boxRect.move(leftDelta, 0); in computeStickyOffset()
79 boxRect.move(0, bottomDelta); in computeStickyOffset()
89 boxRect.move(0, topDelta); in computeStickyOffset()
92 return boxRect.location() - m_absoluteStickyBoxRect.location(); in computeStickyOffset()