Searched refs:Gradient (Results 1 - 25 of 37) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGradientWx.cpp27 #include "Gradient.h"
34 void Gradient::platformDestroy()
39 PlatformGradient Gradient::platformGradient()
45 void Gradient::fill(GraphicsContext*, const FloatRect&)
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DGradientWinCE.cpp22 #include "Gradient.h"
28 void Gradient::platformDestroy()
32 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b)
37 const Vector<Gradient::ColorStop, 2>& Gradient::getStops() const
47 void Gradient::fill(GraphicsContext* c, const FloatRect& r)
/external/webkit/Source/WebCore/platform/graphics/
H A DGradient.cpp28 #include "Gradient.h"
36 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1) function in class:WebCore::Gradient
50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) function in class:WebCore::Gradient
64 Gradient::~Gradient()
69 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect)
91 void Gradient::addColorStop(float value, const Color& color)
104 void Gradient
[all...]
H A DGradient.h75 class Gradient : public Generator { class in namespace:WebCore
77 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1)
79 return adoptRef(new Gradient(p0, p1));
81 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1)
83 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio));
85 virtual ~Gradient();
147 Gradient(const FloatPoint& p0, const FloatPoint& p1);
148 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
H A DGraphicsContext.h33 #include "Gradient.h"
189 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;
457 void fillRect(const FloatRect&, const Gradient*);
565 void setPlatformStrokeGradient(Gradient*);
569 void setPlatformFillGradient(Gradient*);
[all...]
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGradientHaiku.cpp29 #include "Gradient.h"
39 void Gradient::platformDestroy()
44 PlatformGradient Gradient::platformGradient()
67 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
/external/webkit/Source/WebCore/svg/
H A DGradientAttributes.h25 #include "Gradient.h"
44 const Vector<Gradient::ColorStop>& stops() const { return m_stops; }
64 void setStops(const Vector<Gradient::ColorStop>& value)
80 Vector<Gradient::ColorStop> m_stops;
H A DSVGGradientElement.h25 #include "Gradient.h"
39 Vector<Gradient::ColorStop> buildStops();
H A DSVGGradientElement.cpp148 Vector<Gradient::ColorStop> SVGGradientElement::buildStops()
150 Vector<Gradient::ColorStop> stops;
171 stops.append(Gradient::ColorStop(offset, r, g, b, a));
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasGradient.cpp38 : m_gradient(Gradient::create(p0, p1))
44 : m_gradient(Gradient::create(p0, r0, p1, r1))
H A DCanvasGradient.h30 #include "Gradient.h"
50 Gradient* gradient() const { return m_gradient.get(); }
64 RefPtr<Gradient> m_gradient;
H A DCanvasStyle.cpp126 : m_type(Gradient)
199 case Gradient:
254 case Gradient:
291 case Gradient:
H A DCanvasStyle.h69 enum Type { RGBA, CMYKA, Gradient, ImagePattern, CurrentColor, CurrentColorWithOverrideAlpha }; enumerator in enum:WebCore::CanvasStyle::Type
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGradientCairo.cpp28 #include "Gradient.h"
37 void Gradient::platformDestroy()
45 cairo_pattern_t* Gradient::platformGradient()
80 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation)
89 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGradientCG.cpp28 #include "Gradient.h"
36 void Gradient::platformDestroy()
50 static_cast<const Gradient*>(info)->getColor(*in, &r, &g, &b, &a);
57 CGShadingRef Gradient::platformGradient()
77 CGGradientRef Gradient::platformGradient()
106 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
112 void Gradient::paint(GraphicsContext* context)
118 void Gradient::paint(CGContextRef context)
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGradientSkia.cpp32 #include "Gradient.h"
42 void Gradient::platformDestroy()
61 static size_t totalStopsNeeded(const Gradient::ColorStop* stopData, size_t count)
65 const Gradient::ColorStop* stop = stopData;
79 static void fillStops(const Gradient::ColorStop* stopData,
82 const Gradient::ColorStop* stop = stopData;
113 SkShader* Gradient::platformGradient()
181 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
187 void Gradient::setPlatformGradientSpaceTransform(const AffineTransform& matrix)
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGResourceGradient.h28 #include "Gradient.h"
38 RefPtr<Gradient> gradient;
57 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
H A DRenderSVGResourceLinearGradient.cpp57 gradientData->gradient = Gradient::create(startPoint, endPoint);
H A DRenderSVGResourceRadialGradient.cpp58 gradientData->gradient = Gradient::create(focalPoint,
H A DRenderSVGResourceGradient.cpp270 void RenderSVGResourceGradient::addStops(GradientData* gradientData, const Vector<Gradient::ColorStop>& stops) const
274 const Vector<Gradient::ColorStop>::const_iterator end = stops.end();
275 for (Vector<Gradient::ColorStop>::const_iterator it = stops.begin(); it != end; ++it)
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DGradientQt.cpp28 #include "Gradient.h"
38 void Gradient::platformDestroy()
44 QGradient* Gradient::platformGradient()
114 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
/external/webkit/Source/WebCore/css/
H A DCSSGradientValue.h37 class Gradient;
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&);
H A DCSSGradientValue.cpp32 #include "Gradient.h"
112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat)
231 // We can't just push this logic down into the platform-specific Gradient code,
529 PassRefPtr<Gradient> CSSLinearGradientValue::createGradient(RenderObject* renderer, const IntSize& size)
553 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint);
722 PassRefPtr<Gradient> CSSRadialGradientValue::createGradient(RenderObject* renderer, const IntSize& size)
845 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio);
/external/webkit/Source/WebKit2/UIProcess/
H A DFindIndicator.cpp30 #include <WebCore/Gradient.h>
161 RefPtr<Gradient> gradient = Gradient::create(FloatPoint(innerPathRect.x(), innerPathRect.y()), FloatPoint(innerPathRect.x(), innerPathRect.maxY()));
/external/skia/src/animator/
H A DSkDrawGradient.h20 DECLARE_PRIVATE_MEMBER_INFO(Gradient);

Completed in 3773 milliseconds

12