Home
last modified time | relevance | path

Searched refs:m_p3 (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatQuad.cpp86 float left = min4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); in boundingBox()
87 float top = min4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); in boundingBox()
89 float right = max4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); in boundingBox()
90 float bottom = max4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); in boundingBox()
102 …withinEpsilon(m_p1.x(), m_p2.x()) && withinEpsilon(m_p2.y(), m_p3.y()) && withinEpsilon(m_p3.x(), … in isRectilinear()
103 …withinEpsilon(m_p1.y(), m_p2.y()) && withinEpsilon(m_p2.x(), m_p3.x()) && withinEpsilon(m_p3.y(), … in isRectilinear()
108 return isPointInTriangle(p, m_p1, m_p2, m_p3) || isPointInTriangle(p, m_p1, m_p3, m_p4); in containsPoint()
150 v2 = m_p3 - m_p2; in intersectsRect()
151 v3 = m_p4 - m_p3; in intersectsRect()
156 v3 = m_p2 - m_p3; in intersectsRect()
[all …]
DFloatQuad.h50 , m_p3(p3) in FloatQuad()
58 , m_p3(inRect.maxX(), inRect.maxY()) in FloatQuad()
65 FloatPoint p3() const { return m_p3; } in p3()
70 void setP3(const FloatPoint& p) { m_p3 = p; } in setP3()
103 return FloatPoint((m_p1.x() + m_p2.x() + m_p3.x() + m_p4.x()) / 4.0, in center()
104 (m_p1.y() + m_p2.y() + m_p3.y() + m_p4.y()) / 4.0); in center()
117 m_p3 += offset; in move()
125 m_p3.move(dx, dy); in move()
133 m_p3.scale(dx, dy); in scale()
144 FloatPoint m_p3; variable
/external/chromium_org/third_party/WebKit/Source/wtf/
DFunctional.h436 , m_p3(ParamStorageTraits<P3>::wrap(p3))
442 …its<P1>::unwrap(m_p1), ParamStorageTraits<P2>::unwrap(m_p2), ParamStorageTraits<P3>::unwrap(m_p3));
449 typename ParamStorageTraits<P3>::StorageType m_p3;
459 , m_p3(ParamStorageTraits<P3>::wrap(p3))
466 …p1), ParamStorageTraits<P2>::unwrap(m_p2), ParamStorageTraits<P3>::unwrap(m_p3), ParamStorageTrait…
473 typename ParamStorageTraits<P3>::StorageType m_p3;
484 , m_p3(ParamStorageTraits<P3>::wrap(p3))
492 …p1), ParamStorageTraits<P2>::unwrap(m_p2), ParamStorageTraits<P3>::unwrap(m_p3), ParamStorageTrait…
499 typename ParamStorageTraits<P3>::StorageType m_p3;
511 , m_p3(ParamStorageTraits<P3>::wrap(p3))
[all …]