Searched refs:m_p1 (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | FloatQuad.cpp | 86 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() 149 v1 = m_p2 - m_p1; in intersectsRect() 152 v4 = m_p1 - m_p4; in intersectsRect() 154 v1 = m_p4 - m_p1; in intersectsRect() [all …]
|
D | FloatQuad.h | 48 : m_p1(p1) in FloatQuad() 56 : m_p1(inRect.location()) in FloatQuad() 63 FloatPoint p1() const { return m_p1; } in p1() 68 void setP1(const FloatPoint& p) { m_p1 = p; } in setP1() 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() 115 m_p1 += offset; in move() 123 m_p1.move(dx, dy); in move() 131 m_p1.scale(dx, dy); in scale() 142 FloatPoint m_p1;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | Gradient.h | 77 …bool isZeroSize() const { return m_p0.x() == m_p1.x() && m_p0.y() == m_p1.y() && (!m_radial || m_r… in isZeroSize() 80 const FloatPoint& p1() const { return m_p1; } in p1() 92 if (m_p1 == p) in setP1() 95 m_p1 = p; in setP1() 141 FloatPoint m_p1; variable
|
D | Gradient.cpp | 44 , m_p1(p1) in Gradient() 57 , m_p1(p1) in Gradient() 250 if (m_p0 == m_p1 && m_r0 <= 0.0f) { in shader() 251 …m_gradient = adoptRef(SkGradientShader::CreateRadial(m_p1, m_r1, colors, pos, static_cast<int>(cou… in shader() 257 …m_gradient = adoptRef(SkGradientShader::CreateTwoPointConical(m_p0, radius0, m_p1, radius1, colors… in shader() 266 ASSERT(m_p0 == m_p1); in shader() 269 SkPoint pts[2] = { m_p0, m_p1 }; in shader()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | Functional.h | 394 , m_p1(ParamStorageTraits<P1>::wrap(p1)) 400 return m_functionWrapper(ParamStorageTraits<P1>::unwrap(m_p1)); 405 typename ParamStorageTraits<P1>::StorageType m_p1; 413 , m_p1(ParamStorageTraits<P1>::wrap(p1)) 420 …return m_functionWrapper(ParamStorageTraits<P1>::unwrap(m_p1), ParamStorageTraits<P2>::unwrap(m_p2… 425 typename ParamStorageTraits<P1>::StorageType m_p1; 434 , m_p1(ParamStorageTraits<P1>::wrap(p1)) 442 …return m_functionWrapper(ParamStorageTraits<P1>::unwrap(m_p1), ParamStorageTraits<P2>::unwrap(m_p2… 447 typename ParamStorageTraits<P1>::StorageType m_p1; 457 , m_p1(ParamStorageTraits<P1>::wrap(p1)) [all …]
|