Searched refs:m_p1 (Results 1 - 9 of 9) sorted by relevance
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | FloatQuad.cpp | 79 float left = min4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); 80 float top = min4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); 82 float right = max4(m_p1.x(), m_p2.x(), m_p3.x(), m_p4.x()); 83 float bottom = max4(m_p1.y(), m_p2.y(), m_p3.y(), m_p4.y()); 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()) 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()); 96 return isPointInTriangle(p, m_p1, m_p2, m_p3) || isPointInTriangle(p, m_p1, m_p [all...] |
H A D | FloatQuad.h | 48 : m_p1(p1) 56 : m_p1(inRect.location()) 63 FloatPoint p1() const { return m_p1; } 68 void setP1(const FloatPoint& p) { m_p1 = p; } 99 m_p1 += offset; 107 m_p1.move(dx, dy); 114 FloatPoint m_p1; member in class:WebCore::FloatQuad
|
H A D | Gradient.h | 95 bool isZeroSize() const { return m_p0.x() == m_p1.x() && m_p0.y() == m_p1.y() && (!m_radial || m_r0 == m_r1); } 98 const FloatPoint& p1() const { return m_p1; } 101 void setP1(const FloatPoint& p) { m_p1 = p; } 158 FloatPoint m_p1; member in class:WebCore::Gradient
|
H A D | Gradient.cpp | 39 , m_p1(p1) 53 , m_p1(p1) 77 if (m_p0.x() == m_p1.x()) { 83 if (m_p0.y() != m_p1.y())
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | GradientCairo.cpp | 51 m_gradient = cairo_pattern_create_radial(m_p0.x(), m_p0.y(), m_r0, m_p1.x(), m_p1.y(), m_r1); 53 m_gradient = cairo_pattern_create_linear(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y());
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
H A D | GradientQt.cpp | 53 QPointF center = reversed ? m_p0 : m_p1; 54 QPointF focalPoint = reversed ? m_p1 : m_p0; 59 m_gradient = new QLinearGradient(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y());
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
H A D | GradientCG.cpp | 70 m_gradient = CGShadingCreateRadial(colorSpace, m_p0, m_r0, m_p1, m_r1, colorFunction.get(), true, true); 72 m_gradient = CGShadingCreateAxial(colorSpace, m_p0, m_p1, colorFunction.get(), true, true); 129 // for which m_p0 == m_p1. 130 ASSERT(m_p0 == m_p1); 136 CGContextDrawRadialGradient(context, platformGradient(), m_p0, m_r0, m_p1, m_r1, extendOptions); 141 CGContextDrawLinearGradient(context, platformGradient(), m_p0, m_p1, extendOptions);
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | GradientSkia.cpp | 148 if (m_p0 == m_p1 && m_r0 <= 0.0f) { 153 m_gradient = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed), tile); 159 m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); 168 ASSERT(m_p0 == m_p1); 171 SkPoint pts[2] = { m_p0, m_p1 };
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | GradientHaiku.cpp | 53 m_gradient = new BGradientLinear(m_p0, m_p1);
|
Completed in 183 milliseconds