Home
last modified time | relevance | path

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

123

/external/webkit/Source/WebCore/platform/graphics/
DGradient.cpp36 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1) in Gradient() function in WebCore::Gradient
50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRati… in Gradient() function in WebCore::Gradient
64 Gradient::~Gradient() in ~Gradient()
69 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect) in adjustParametersForTiledDrawing()
91 void Gradient::addColorStop(float value, const Color& color) in addColorStop()
104 void Gradient::addColorStop(const Gradient::ColorStop& stop) in addColorStop()
112 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
117 void Gradient::sortStopsIfNecessary() in sortStopsIfNecessary()
134 void Gradient::getColor(float value, float* r, float* g, float* b, float* a) const in getColor()
177 int Gradient::findStop(float value) const in findStop()
[all …]
DGradient.h80 class Gradient : public Generator {
82 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1) in create()
84 return adoptRef(new Gradient(p0, p1)); in create()
86 …static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1,…
88 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio));
90 virtual ~Gradient();
155 Gradient(const FloatPoint& p0, const FloatPoint& p1);
156 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
DGraphicsContext.h189 RefPtr<Gradient> strokeGradient;
192 RefPtr<Gradient> fillGradient;
248 void setStrokeGradient(PassRefPtr<Gradient>);
249 Gradient* strokeGradient() const;
260 void setFillGradient(PassRefPtr<Gradient>);
261 Gradient* fillGradient() const;
459 void fillRect(const FloatRect&, const Gradient*);
567 void setPlatformStrokeGradient(Gradient*);
571 void setPlatformFillGradient(Gradient*);
DGraphicsContext.cpp282 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient) in setStrokeGradient()
294 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient) in setFillGradient()
306 Gradient* GraphicsContext::fillGradient() const in fillGradient()
311 Gradient* GraphicsContext::strokeGradient() const in strokeGradient()
664 void GraphicsContext::setPlatformFillGradient(Gradient*) in setPlatformFillGradient() argument
672 void GraphicsContext::setPlatformStrokeGradient(Gradient*) in setPlatformStrokeGradient() argument
/external/webkit/Source/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, 2>& Gradient::getStops() const in getStops()
47 void Gradient::fill(GraphicsContext* c, const FloatRect& r) in fill()
/external/webkit/Source/WebCore/platform/graphics/cg/
DGradientCG.cpp36 void Gradient::platformDestroy() in platformDestroy()
50 static_cast<const Gradient*>(info)->getColor(*in, &r, &g, &b, &a); in gradientCallback()
57 CGShadingRef Gradient::platformGradient() in platformGradient()
77 CGGradientRef Gradient::platformGradient() in platformGradient()
106 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
112 void Gradient::paint(GraphicsContext* context) in paint()
118 void Gradient::paint(CGContextRef context) in paint()
/external/webkit/Source/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 SkShader* Gradient::platformGradient() in platformGradient()
181 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
187 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& matrix) in setPlatformGradientSpaceTransform()
/external/webkit/Source/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/Source/WebCore/platform/graphics/cairo/
DGradientCairo.cpp37 void Gradient::platformDestroy() in platformDestroy()
45 cairo_pattern_t* Gradient::platformGradient() in platformGradient()
80 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation) in setPlatformGradientSpaceTransform()
89 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DGradientHaiku.cpp39 void Gradient::platformDestroy() in platformDestroy()
44 PlatformGradient Gradient::platformGradient() in platformGradient()
67 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/Source/WebCore/css/
DCSSGradientValue.h37 class Gradient; variable
77 void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0);
80 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&) = 0;
122 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
154 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
DCSSGradientValue.cpp112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle,… in addStops()
529 PassRefPtr<Gradient> CSSLinearGradientValue::createGradient(RenderObject* renderer, const IntSize& … in createGradient()
553 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); in createGradient()
722 PassRefPtr<Gradient> CSSRadialGradientValue::createGradient(RenderObject* renderer, const IntSize& … in createGradient()
845 …RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, a… in createGradient()
/external/webkit/Source/WebCore/svg/
DGradientAttributes.h44 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } in stops()
64 void setStops(const Vector<Gradient::ColorStop>& value) in setStops()
80 Vector<Gradient::ColorStop> m_stops;
DSVGGradientElement.cpp148 Vector<Gradient::ColorStop> SVGGradientElement::buildStops() in buildStops()
150 Vector<Gradient::ColorStop> stops; in buildStops()
171 stops.append(Gradient::ColorStop(offset, r, g, b, a)); in buildStops()
DSVGGradientElement.h39 Vector<Gradient::ColorStop> buildStops();
/external/webkit/Source/WebCore/platform/graphics/qt/
DGradientQt.cpp38 void Gradient::platformDestroy() in platformDestroy()
44 QGradient* Gradient::platformGradient() in platformGradient()
114 void Gradient::fill(GraphicsContext* context, const FloatRect& rect) in fill()
/external/webkit/Source/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/Source/WebCore/html/canvas/
DCanvasGradient.cpp38 : m_gradient(Gradient::create(p0, p1)) in CanvasGradient()
44 : m_gradient(Gradient::create(p0, r0, p1, r1)) in CanvasGradient()
DCanvasGradient.h50 Gradient* gradient() const { return m_gradient.get(); } in gradient()
64 RefPtr<Gradient> m_gradient;
DCanvasStyle.cpp126 : m_type(Gradient) in CanvasStyle()
199 case Gradient: in isEquivalentColor()
254 case Gradient: in applyStrokeColor()
291 case Gradient: in applyFillColor()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGResourceGradient.h38 RefPtr<Gradient> gradient;
57 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
DRenderSVGResourceGradient.cpp270 void RenderSVGResourceGradient::addStops(GradientData* gradientData, const Vector<Gradient::ColorSt… in applyResource()
274 const Vector<Gradient::ColorStop>::const_iterator end = stops.end(); in applyResource()
275 for (Vector<Gradient::ColorStop>::const_iterator it = stops.begin(); it != end; ++it) in applyResource()
DRenderSVGResourceLinearGradient.cpp57 gradientData->gradient = Gradient::create(startPoint, endPoint); in buildGradient()
DRenderSVGResourceRadialGradient.cpp58 gradientData->gradient = Gradient::create(focalPoint, in buildGradient()
/external/webkit/Source/WebKit2/UIProcess/
DFindIndicator.cpp161 …RefPtr<Gradient> gradient = Gradient::create(FloatPoint(innerPathRect.x(), innerPathRect.y()), Flo… in draw()

123