Home
last modified time | relevance | path

Searched refs:Gradient (Results 1 – 25 of 44) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/
DGradient.cpp36 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1) in Gradient() function in WebCore::Gradient
49 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1) in Gradient() function in WebCore::Gradient
62 Gradient::~Gradient() in ~Gradient()
67 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect) in adjustParametersForTiledDrawing()
89 void Gradient::addColorStop(float value, const Color& color) in addColorStop()
103 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
108 void Gradient::sortStopsIfNecessary() in sortStopsIfNecessary()
118 void Gradient::getColor(float value, float* r, float* g, float* b, float* a) const in getColor()
161 int Gradient::findStop(float value) const in findStop()
185 void Gradient::setSpreadMethod(GradientSpreadMethod spreadMethod) in setSpreadMethod()
[all …]
DGradient.h73 class Gradient : public Generator {
75 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1) in create()
77 return adoptRef(new Gradient(p0, p1)); in create()
79 … static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1) in create()
81 return adoptRef(new Gradient(p0, r0, p1, r1)); in create()
83 virtual ~Gradient();
131 Gradient(const FloatPoint& p0, const FloatPoint& p1);
132 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1);
DGraphicsContext.h125 class Gradient; variable
175 void setStrokeGradient(PassRefPtr<Gradient>);
176 Gradient* strokeGradient() const;
187 void setFillGradient(PassRefPtr<Gradient>);
188 Gradient* fillGradient() const;
349 void fillRect(const FloatRect&, const Gradient*);
438 void setPlatformStrokeGradient(Gradient*);
442 void setPlatformFillGradient(Gradient*);
DGraphicsContextPrivate.h62 RefPtr<Gradient> strokeGradient;
68 RefPtr<Gradient> fillGradient;
DGraphicsContext.cpp241 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient) in setStrokeGradient()
253 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient) in setFillGradient()
265 Gradient* GraphicsContext::fillGradient() const in fillGradient()
270 Gradient* GraphicsContext::strokeGradient() const in strokeGradient()
484 void GraphicsContext::setPlatformFillGradient(Gradient*) in setPlatformFillGradient() argument
492 void GraphicsContext::setPlatformStrokeGradient(Gradient*) in setPlatformStrokeGradient() argument
/external/webkit/WebCore/platform/graphics/wince/
DGradientWince.cpp28 void Gradient::platformDestroy() in platformDestroy()
32 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
37 const Vector<Gradient::ColorStop>& Gradient::getStops() const in getStops()
47 void Gradient::fill(GraphicsContext* c, const FloatRect& r) in fill()
DGraphicsContextWince.cpp40 … const IntRect& r, const IntPoint& p0, const IntPoint& p1, const Vector<Gradient::ColorStop>& stop…
41 …onst IntPoint& p0, const IntPoint& p1, float r0, float r1, const Vector<Gradient::ColorStop>& stop…
1343 Color gradientAverageColor(const Gradient* gradient) in gradientAverageColor()
1345 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); in gradientAverageColor()
1349 const Gradient::ColorStop& stop = stops.first(); in gradientAverageColor()
1353 const Gradient::ColorStop& lastStop = stops.last(); in gradientAverageColor()
1443 void GraphicsContext::fillRect(const FloatRect& r, const Gradient* gradient) in fillRect()
1448 const Vector<Gradient::ColorStop>& stops = gradient->getStops(); in fillRect()
1454 const Gradient::ColorStop& stop = stops.first(); in fillRect()
1506 const Gradient::ColorStop& stop = stops[i]; in fillRect()
/external/webkit/WebCore/platform/graphics/skia/
DGradientSkia.cpp42 void Gradient::platformDestroy() in platformDestroy()
61 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()
118 SkShader* Gradient::platformGradient() in platformGradient()
184 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
190 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& matrix) in setPlatformGradientSpaceTransform()
/external/webkit/WebCore/platform/graphics/cg/
DGradientCG.cpp37 void Gradient::platformDestroy() in platformDestroy()
51 static_cast<const Gradient*>(info)->getColor(*in, &r, &g, &b, &a); in gradientCallback()
58 CGShadingRef Gradient::platformGradient() in platformGradient()
78 CGGradientRef Gradient::platformGradient() in platformGradient()
109 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
115 void Gradient::paint(GraphicsContext* context) in paint()
/external/webkit/WebCore/platform/graphics/wx/
DGradientWx.cpp34 void Gradient::platformDestroy() in platformDestroy()
39 PlatformGradient Gradient::platformGradient() in platformGradient()
45 void Gradient::fill(GraphicsContext*, const FloatRect&) in fill()
/external/webkit/WebCore/platform/graphics/haiku/
DGradientHaiku.cpp36 void Gradient::platformDestroy() in platformDestroy()
41 PlatformGradient Gradient::platformGradient() in platformGradient()
47 void Gradient::fill(GraphicsContext*, const FloatRect&) in fill()
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerGradient.h52 void setGradient(PassRefPtr<Gradient>);
53 Gradient* gradient() const;
77 RefPtr<Gradient> m_gradient;
DSVGPaintServerGradient.cpp89 Gradient* SVGPaintServerGradient::gradient() const in gradient()
94 void SVGPaintServerGradient::setGradient(PassRefPtr<Gradient> gradient) in setGradient()
/external/webkit/WebCore/platform/graphics/qt/
DGradientQt.cpp38 void Gradient::platformDestroy() in platformDestroy()
44 QGradient* Gradient::platformGradient() in platformGradient()
85 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/WebCore/platform/graphics/cairo/
DGradientCairo.cpp36 void Gradient::platformDestroy() in platformDestroy()
44 cairo_pattern_t* Gradient::platformGradient() in platformGradient()
79 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/WebCore/css/
DCSSGradientValue.cpp72 PassRefPtr<Gradient> CSSGradientValue::createGradient(RenderObject* renderer, const IntSize& size) in createGradient()
81 RefPtr<Gradient> gradient; in createGradient()
83 gradient = Gradient::create(firstPoint, secondPoint); in createGradient()
87 gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius); in createGradient()
DCSSGradientValue.h37 class Gradient; variable
85 PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
/external/webkit/WebCore/platform/graphics/android/
DGradientAndroid.cpp50 void Gradient::platformDestroy() in platformDestroy()
61 SkShader* Gradient::getShader(SkShader::TileMode mode) in getShader()
114 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/WebCore/html/canvas/
DCanvasGradient.cpp36 : m_gradient(Gradient::create(p0, p1)) in CanvasGradient()
42 : m_gradient(Gradient::create(p0, r0, p1, r1)) in CanvasGradient()
DCanvasGradient.h51 Gradient* gradient() const { return m_gradient.get(); } in gradient()
65 RefPtr<Gradient> m_gradient;
DCanvasStyle.cpp98 : m_type(gradient ? Gradient : ColorString) in CanvasStyle()
161 case Gradient: in applyStrokeColor()
222 case Gradient: in applyFillColor()
/external/webkit/WebCore/svg/
DSVGLinearGradientElement.cpp119 RefPtr<Gradient> gradient = Gradient::create(startPoint, endPoint); in buildGradient()
DSVGRadialGradientElement.cpp150 RefPtr<Gradient> gradient = Gradient::create( in buildGradient()
/external/skia/src/animator/
DSkDrawGradient.h28 DECLARE_PRIVATE_MEMBER_INFO(Gradient);
/external/webkit/WebCore/rendering/
DRenderMediaControlsChromium.cpp135 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); in paintMediaSlider()

12