/external/webkit/Source/WebCore/platform/graphics/cg/ |
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); 131 CGContextTranslateCTM(context, m_p0.x(), m_p0.y()); 133 CGContextTranslateCTM(context, -m_p0.x(), -m_p0.y()); 136 CGContextDrawRadialGradient(context, platformGradient(), m_p0, m_r0, m_p1, m_r1, extendOptions); 141 CGContextDrawLinearGradient(context, platformGradient(), m_p0, m_p1, extendOptions) [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
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/haiku/ |
GradientHaiku.cpp | 51 m_gradient = new BGradientRadial(m_p0, m_r1); 53 m_gradient = new BGradientLinear(m_p0, m_p1);
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
GradientSkia.cpp | 148 if (m_p0 == m_p1 && m_r0 <= 0.0f) { 159 m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); 165 m_gradientSpaceTransformation.translate(m_p0.x(), m_p0.y()); 167 m_gradientSpaceTransformation.translate(-m_p0.x(), -m_p0.y()); 168 ASSERT(m_p0 == m_p1); 171 SkPoint pts[2] = { m_p0, m_p1 };
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
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/ |
Gradient.h | 100 bool isZeroSize() const { return m_p0.x() == m_p1.x() && m_p0.y() == m_p1.y() && (!m_radial || m_r0 == m_r1); } 102 const FloatPoint& p0() const { return m_p0; } 105 void setP0(const FloatPoint& p) { m_p0 = p; } 165 FloatPoint m_p0; member in class:WebCore::Gradient
|
Gradient.cpp | 38 , m_p0(p0) 52 , m_p0(p0) 77 if (m_p0.x() == m_p1.x()) { 83 if (m_p0.y() != m_p1.y())
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
GradientAndroid.cpp | 76 SkPoint pts[2] = { m_p0, m_p1 }; // convert to SkPoint
|