Lines Matching defs:m_x
43 LayoutPoint(LayoutUnit x, LayoutUnit y) : m_x(x), m_y(y) { }
44 LayoutPoint(const IntPoint& point) : m_x(point.x()), m_y(point.y()) { }
45 explicit LayoutPoint(const FloatPoint& size) : m_x(size.x()), m_y(size.y()) { }
46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { }
50 LayoutUnit x() const { return m_x; }
53 void setX(LayoutUnit x) { m_x = x; }
58 void move(LayoutUnit dx, LayoutUnit dy) { m_x += dx; m_y += dy; }
61 m_x *= sx;
67 return LayoutPoint(std::max(m_x, other.m_x), std::max(m_y, other.m_y));
72 return LayoutPoint(std::min(m_x, other.m_x), std::min(m_y, other.m_y));
82 return LayoutPoint(m_y, m_x);
86 LayoutUnit m_x, m_y;