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

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceGradient.h 35 struct GradientData {
55 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
60 virtual void buildGradient(GradientData*) const = 0;
66 HashMap<RenderObject*, OwnPtr<GradientData> > m_gradientMap;
RenderSVGResourceLinearGradient.h 44 virtual void buildGradient(GradientData*) const;
RenderSVGResourceRadialGradient.h 44 virtual void buildGradient(GradientData*) const;
RenderSVGResourceLinearGradient.cpp 56 void RenderSVGResourceLinearGradient::buildGradient(GradientData* gradientData) const
58 gradientData->gradient = Gradient::create(startPoint(m_attributes), endPoint(m_attributes));
59 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_attributes.spreadMethod()));
60 addStops(gradientData, m_attributes.stops());
RenderSVGResourceGradient.cpp 65 // GradientData object! Leaving out the line below will cause svg/dynamic-updates/SVG*GradientElement-svgdom* to crash.
84 OwnPtr<GradientData>& gradientData = m_gradientMap.add(object, nullptr).iterator->value;
85 if (!gradientData)
86 gradientData = adoptPtr(new GradientData);
91 if (!gradientData->gradient) {
92 buildGradient(gradientData.get());
96 gradientData->userspaceTransform.translate(objectBoundingBox.x(), objectBoundingBox.y());
97 gradientData->userspaceTransform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.height())
    [all...]
RenderSVGResourceRadialGradient.cpp 67 void RenderSVGResourceRadialGradient::buildGradient(GradientData* gradientData) const
69 gradientData->gradient = Gradient::create(this->focalPoint(m_attributes),
74 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_attributes.spreadMethod()));
76 addStops(gradientData, m_attributes.stops());

Completed in 531 milliseconds