Home
last modified time | relevance | path

Searched refs:ColorStop (Results 1 – 9 of 9) sorted by relevance

/external/webkit/WebCore/platform/graphics/
DGradient.h86 struct ColorStop;
87 const Vector<ColorStop>& getStops() const;
96 struct ColorStop { struct
103 ColorStop() : stop(0), red(0), green(0), blue(0), alpha(0) { } in ColorStop() argument
104ColorStop(float s, float r, float g, float b, float a) : stop(s), red(r), green(g), blue(b), alpha… in ColorStop() function
132 mutable Vector<ColorStop> m_stops;
DGradient.cpp72 m_stops.append(ColorStop(value, r, g, b, a)); in addColorStop()
79 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
118 const ColorStop& lastStop = m_stops[stop]; in getColor()
119 const ColorStop& nextStop = m_stops[stop + 1]; in getColor()
/external/webkit/WebCore/platform/graphics/skia/
DGradientSkia.cpp61 static size_t totalStopsNeeded(const Gradient::ColorStop* stopData, size_t count) in totalStopsNeeded()
65 const Gradient::ColorStop* stop = stopData; in totalStopsNeeded()
79 static void fillStops(const Gradient::ColorStop* stopData, in fillStops()
82 const Gradient::ColorStop* stop = stopData; in fillStops()
113 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
/external/webkit/WebCore/platform/graphics/qt/
DGradientQt.cpp55 Vector<ColorStop>::iterator stopIterator = m_stops.begin(); in platformGradient()
/external/webkit/WebCore/platform/graphics/cairo/
DGradientCairo.cpp54 Vector<ColorStop>::iterator stopIterator = m_stops.begin(); in platformGradient()
/external/webkit/WebCore/platform/graphics/android/
DGradientAndroid.cpp83 Vector<ColorStop>::iterator iter = m_stops.begin(); in getShader()
/external/webkit/WebCore/platform/graphics/wince/
DGraphicsContextWince.cpp40 …onst IntRect& r, const IntPoint& p0, const IntPoint& p1, const Vector<Gradient::ColorStop>& stops);
41 …st IntPoint& p0, const IntPoint& p1, float r0, float r1, const Vector<Gradient::ColorStop>& stops);
1336 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); in gradientAverageColor()
1340 const Gradient::ColorStop& stop = stops.first(); in gradientAverageColor()
1344 const Gradient::ColorStop& lastStop = stops.last(); in gradientAverageColor()
1439 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); in fillRect()
1445 const Gradient::ColorStop& stop = stops.first(); in fillRect()
1497 const Gradient::ColorStop& stop = stops[i]; in fillRect()
/external/webkit/WebCore/
DChangeLog-2005-08-2333186 * khtml/ecma/kjs_html.cpp: (Gradient::colorStops): Get rid of initialized ColorStop
37148 (KJS::ColorStop::ColorStop):
DChangeLog-2008-08-1034878 (WebCore::Gradient::ColorStop::ColorStop):