/external/webkit/WebCore/platform/graphics/ |
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_p3, m_p4) [all...] |
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
|
Gradient.cpp | 39 , m_p1(p1) 52 , m_p1(p1) 75 if (m_p0.x() == m_p1.x()) { 81 if (m_p0.y() != m_p1.y())
|
Gradient.h | 91 const FloatPoint& p1() const { return m_p1; } 142 FloatPoint m_p1; member in class:WebCore::Gradient
|
/external/webkit/WebCore/platform/graphics/cairo/ |
GradientCairo.cpp | 50 m_gradient = cairo_pattern_create_radial(m_p0.x(), m_p0.y(), m_r0, m_p1.x(), m_p1.y(), m_r1); 52 m_gradient = cairo_pattern_create_linear(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y());
|
/external/webkit/WebCore/platform/graphics/qt/ |
GradientQt.cpp | 50 m_gradient = new QRadialGradient(m_p1.x(), m_p1.y(), m_r1, m_p0.x(), m_p0.y()); 52 m_gradient = new QLinearGradient(m_p0.x(), m_p0.y(), m_p1.x(), m_p1.y());
|
/external/webkit/WebCore/platform/graphics/cg/ |
GradientCG.cpp | 71 m_gradient = CGShadingCreateRadial(colorSpace, m_p0, m_r0, m_p1, m_r1, colorFunction.get(), true, true); 73 m_gradient = CGShadingCreateAxial(colorSpace, m_p0, m_p1, colorFunction.get(), true, true); 122 CGContextDrawRadialGradient(context->platformContext(), platformGradient(), m_p0, m_r0, m_p1, m_r1, extendOptions); 124 CGContextDrawLinearGradient(context->platformContext(), platformGradient(), m_p0, m_p1, extendOptions);
|
/external/webkit/WebCore/platform/graphics/skia/ |
GradientSkia.cpp | 157 if (m_p0 != m_p1) { 162 m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); 168 m_gradient = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed), tile); 171 SkPoint pts[2] = { m_p0, m_p1 };
|
/external/webkit/WebCore/platform/graphics/android/ |
GradientAndroid.cpp | 76 SkPoint pts[2] = { m_p0, m_p1 }; // convert to SkPoint
|