HomeSort by relevance Sort by last modified time
    Searched refs:m_p0 (Results 1 - 7 of 7) sorted by null

  /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 95 bool isZeroSize() const { return m_p0.x() == m_p1.x() && m_p0.y() == m_p1.y() && (!m_radial || m_r0 == m_r1); }
97 const FloatPoint& p0() const { return m_p0; }
100 void setP0(const FloatPoint& p) { m_p0 = p; }
157 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())

Completed in 107 milliseconds