Searched defs:stops (Results 1 - 6 of 6) sorted by relevance

/external/webkit/WebCore/svg/graphics/
H A DSVGPaintServerGradient.h64 void setGradientStops(const Vector<SVGGradientStop>& stops) { m_stops = stops; } argument
/external/webkit/WebCore/svg/
H A DGradientAttributes.h40 const Vector<SVGGradientStop>& stops() const { return m_stops; } function in struct:WebCore::GradientAttributes
H A DSVGGradientElement.cpp151 Vector<SVGGradientStop> stops; local
181 stops.append(makeGradientStop(stopOffset, makeRGBA(color.red(), color.green(), color.blue(), int(opacity * 255.))));
185 return stops;
H A DSVGRadialGradientElement.cpp157 Vector<SVGGradientStop> stops = attributes.stops(); local
159 for (unsigned i = 0; i < stops.size(); ++i) {
160 float offset = std::min(std::max(previousOffset, stops[i].first), 1.0f);
162 gradient->addColorStop(offset, stops[i].second);
167 if (attributes.stops().isEmpty())
175 radialGradient->setGradientStops(attributes.stops());
197 const Vector<SVGGradientStop>& stops(current->buildStops());
198 if (!stops.isEmpty())
199 attributes.setStops(stops);
[all...]
/external/webkit/WebCore/rendering/style/
H A DSVGRenderStyle.h91 SVG_RS_DEFINE_ATTRIBUTE_DATAREF_WITH_INITIAL(float, stops, opacity, StopOpacity, stopOpacity, 1.0f)
92 SVG_RS_DEFINE_ATTRIBUTE_DATAREF_WITH_INITIAL(Color, stops, color, StopColor, stopColor, Color(0, 0, 0))
178 DataRef<StyleStopData> stops; member in class:WebCore::SVGRenderStyle
/external/webkit/WebCore/platform/graphics/wince/
H A DGraphicsContextWince.cpp40 typedef void (*FuncGradientFillRectLinear)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, const Vector<Gradient::ColorStop>& stops);
41 typedef void (*FuncGradientFillRectRadial)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, float r0, float r1, const Vector<Gradient::ColorStop>& stops);
1345 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); local
1346 if (stops.isEmpty())
1349 const Gradient::ColorStop& stop = stops.first();
1350 if (stops.size() == 1)
1353 const Gradient::ColorStop& lastStop = stops.last();
1448 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); local
1449 if (stops.isEmpty())
1452 size_t numStops = stops
[all...]

Completed in 110 milliseconds