Home
last modified time | relevance | path

Searched refs:m_topLeft (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatRoundedRect.cpp56 …return m_topLeft.isZero() && m_topRight.isZero() && m_bottomLeft.isZero() && m_bottomRight.isZero(… in isZero()
65 m_topLeft.scale(factor); in scale()
66 if (!m_topLeft.width() || !m_topLeft.height()) in scale()
67 m_topLeft = FloatSize(); in scale()
82 if (m_topLeft.width() > 0 && m_topLeft.height() > 0) { in expand()
83 m_topLeft.setWidth(std::max<float>(0, m_topLeft.width() + leftWidth)); in expand()
84 m_topLeft.setHeight(std::max<float>(0, m_topLeft.height() + topWidth)); in expand()
DRoundedRect.cpp40 …return m_topLeft.isZero() && m_topRight.isZero() && m_bottomLeft.isZero() && m_bottomRight.isZero(… in isZero()
49 m_topLeft.scale(factor); in scale()
50 if (!m_topLeft.width() || !m_topLeft.height()) in scale()
51 m_topLeft = IntSize(); in scale()
66 if (m_topLeft.width() > 0 && m_topLeft.height() > 0) { in expand()
67 m_topLeft.setWidth(max<int>(0, m_topLeft.width() + leftWidth)); in expand()
68 m_topLeft.setHeight(max<int>(0, m_topLeft.height() + topWidth)); in expand()
106 m_topLeft = edges.topLeft(); in includeLogicalEdges()
125 m_topLeft = IntSize(); in excludeLogicalEdges()
DFloatRoundedRect.h45 : m_topLeft(topLeft) in Radii()
53 : m_topLeft(intRadii.topLeft()) in Radii()
60 void setTopLeft(const FloatSize& size) { m_topLeft = size; } in setTopLeft()
64 const FloatSize& topLeft() const { return m_topLeft; } in topLeft()
78 FloatSize m_topLeft;
DRoundedRect.h44 : m_topLeft(topLeft) in Radii()
51 void setTopLeft(const IntSize& size) { m_topLeft = size; } in setTopLeft()
55 const IntSize& topLeft() const { return m_topLeft; } in topLeft()
72 IntSize m_topLeft;
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBorderData.h38 BorderData() : m_topLeft(Length(0, Fixed), Length(0, Fixed)) in BorderData()
52 if (!m_topLeft.width().isZero()) in hasBorderRadius()
94 …&& m_topLeft == o.m_topLeft && m_topRight == o.m_topRight && m_bottomLeft == o.m_bottomLeft && m_b…
104 && m_topLeft == o.m_topLeft in visuallyEqual()
122 const LengthSize& topLeft() const { return m_topLeft; } in topLeft()
135 LengthSize m_topLeft; variable
DRenderStyle.h1029 void resetBorderTopLeftRadius() { SET_VAR(surround, border.m_topLeft, initialBorderRadius()); } in resetBorderTopLeftRadius()
1047 void setBorderTopLeftRadius(const LengthSize& s) { SET_VAR(surround, border.m_topLeft, s); } in setBorderTopLeftRadius()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineBox.h58 , m_topLeft(topLeft) in InlineBox()
192 void setX(float x) { m_topLeft.setX(x); } in setX()
193 float x() const { return m_topLeft.x(); } in x()
194 float left() const { return m_topLeft.x(); } in left()
197 void setY(float y) { m_topLeft.setY(y); } in setY()
198 float y() const { return m_topLeft.y(); } in y()
199 float top() const { return m_topLeft.y(); } in top()
201 const FloatPoint& topLeft() const { return m_topLeft; } in topLeft()
210 float logicalLeft() const { return isHorizontal() ? m_topLeft.x() : m_topLeft.y(); } in logicalLeft()
225 float logicalTop() const { return isHorizontal() ? m_topLeft.y() : m_topLeft.x(); } in logicalTop()
[all …]
DRenderLayer.h139 const LayoutPoint& location() const { return m_topLeft; } in location()
140 void setLocation(const LayoutPoint& p) { m_topLeft = p; } in setLocation()
688 LayoutPoint m_topLeft; variable
DInlineFlowBox.h286 … return FloatRect(m_topLeft.x(), lineTop.toFloat(), width(), (lineBottom - lineTop).toFloat()); in frameRectIncludingLineHeight()
287 … return FloatRect(lineTop.toFloat(), m_topLeft.y(), (lineBottom - lineTop).toFloat(), height()); in frameRectIncludingLineHeight()
DInlineBox.cpp189 m_topLeft.move(dx, dy); in adjustPosition()