Home
last modified time | relevance | path

Searched refs:m_p1 (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DFloatQuad.cpp79 float left = min4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); in boundingBox()
80 float top = min4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); in boundingBox()
82 float right = max4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); in boundingBox()
83 float bottom = max4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); in boundingBox()
90 …return (m_p1.x() == m_p2.x() && m_p2.y() == m_p3.y() && m_p3.x() == m_p4.x() && m_p4.y() == m_p1.y… in isRectilinear()
91 … || (m_p1.y() == m_p2.y() && m_p2.x() == m_p3.x() && m_p3.y() == m_p4.y() && m_p4.x() == m_p1.x()); in isRectilinear()
96 return isPointInTriangle(p, m_p1, m_p2, m_p3) || isPointInTriangle(p, m_p1, m_p3, m_p4); in containsPoint()
DFloatQuad.h48 : 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()
99 m_p1 += offset; in move()
107 m_p1.move(dx, dy); in move()
114 FloatPoint m_p1;
DGradient.h95 …bool isZeroSize() const { return m_p0.x() == m_p1.x() && m_p0.y() == m_p1.y() && (!m_radial || m_r… in isZeroSize()
98 const FloatPoint& p1() const { return m_p1; } in p1()
101 void setP1(const FloatPoint& p) { m_p1 = p; } in setP1()
158 FloatPoint m_p1; variable
DGradient.cpp39 , m_p1(p1) in Gradient()
53 , m_p1(p1) in Gradient()
77 if (m_p0.x() == m_p1.x()) { in adjustParametersForTiledDrawing()
83 if (m_p0.y() != m_p1.y()) in adjustParametersForTiledDrawing()
/external/webkit/Source/WebCore/platform/graphics/cg/
DGradientCG.cpp70 …m_gradient = CGShadingCreateRadial(colorSpace, m_p0, m_r0, m_p1, m_r1, colorFunction.get(), true, … in platformGradient()
72 m_gradient = CGShadingCreateAxial(colorSpace, m_p0, m_p1, colorFunction.get(), true, true); in platformGradient()
130 ASSERT(m_p0 == m_p1); in paint()
136 … CGContextDrawRadialGradient(context, platformGradient(), m_p0, m_r0, m_p1, m_r1, extendOptions); in paint()
141 CGContextDrawLinearGradient(context, platformGradient(), m_p0, m_p1, extendOptions); in paint()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGradientCairo.cpp51 … m_gradient = cairo_pattern_create_radial(m_p0.x(), m_p0.y(), m_r0, m_p1.x(), m_p1.y(), m_r1); in platformGradient()
53 m_gradient = cairo_pattern_create_linear(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y()); in platformGradient()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGradientQt.cpp53 QPointF center = reversed ? m_p0 : m_p1; in platformGradient()
54 QPointF focalPoint = reversed ? m_p1 : m_p0; in platformGradient()
59 m_gradient = new QLinearGradient(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y()); in platformGradient()
/external/webkit/Source/WebCore/platform/graphics/skia/
DGradientSkia.cpp148 if (m_p0 == m_p1 && m_r0 <= 0.0f) { in platformGradient()
153 …m_gradient = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed)… in platformGradient()
159 …m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, sta… in platformGradient()
168 ASSERT(m_p0 == m_p1); in platformGradient()
171 SkPoint pts[2] = { m_p0, m_p1 }; in platformGradient()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DGradientHaiku.cpp53 m_gradient = new BGradientLinear(m_p0, m_p1); in platformGradient()