HomeSort by relevance Sort by last modified time
    Searched refs:Gradient (Results 1 - 25 of 37) sorted by null

1 2

  /external/webkit/Source/WebCore/platform/graphics/wx/
GradientWx.cpp 27 #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/
GradientWinCE.cpp 22 #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/
Gradient.cpp 28 #include "Gradient.h"
36 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1)
50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio)
64 Gradient::~Gradient()
69 void Gradient::adjustParametersForTiledDrawing(IntSize& size, FloatRect& srcRect)
91 void Gradient::addColorStop(float value, const Color& color)
104 void Gradient::addColorStop(const Gradient::ColorStop& stop
    [all...]
Gradient.h 75 class Gradient : public Generator {
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();
133 // Qt and CG transform the gradient at draw time
147 Gradient(const FloatPoint& p0, const FloatPoint& p1);
148 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
161 float m_aspectRatio; // For elliptical gradient, width / height
    [all...]
GraphicsContext.h 33 #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/
GradientHaiku.cpp 29 #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/
GradientAttributes.h 25 #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;
SVGGradientElement.h 25 #include "Gradient.h"
39 Vector<Gradient::ColorStop> buildStops();
SVGGradientElement.cpp 148 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/
CanvasGradient.cpp 38 : m_gradient(Gradient::create(p0, p1))
44 : m_gradient(Gradient::create(p0, r0, p1, r1))
CanvasGradient.h 30 #include "Gradient.h"
50 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::CanvasGradient
64 RefPtr<Gradient> m_gradient;
CanvasStyle.cpp 125 CanvasStyle::CanvasStyle(PassRefPtr<CanvasGradient> gradient)
126 : m_type(Gradient)
127 , m_gradient(gradient)
172 PassRefPtr<CanvasStyle> CanvasStyle::createFromGradient(PassRefPtr<CanvasGradient> gradient)
174 if (!gradient)
176 return adoptRef(new CanvasStyle(gradient));
199 case Gradient:
254 case Gradient:
255 context->setStrokeGradient(canvasGradient()->gradient());
291 case Gradient
    [all...]
CanvasStyle.h 69 enum Type { RGBA, CMYKA, Gradient, ImagePattern, CurrentColor, CurrentColorWithOverrideAlpha };
  /external/webkit/Source/WebCore/platform/graphics/cairo/
GradientCairo.cpp 28 #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/
GradientCG.cpp 28 #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)
128 // Scale from the center of the gradient. We only ever scale non-deprecated gradients,
  /external/webkit/Source/WebCore/platform/graphics/skia/
GradientSkia.cpp 32 #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;
85 // A gradient with no stops must be transparent black.
92 // 0.0 comes through cleanly and people aren't likely to want a gradient
113 SkShader* Gradient::platformGradient()
146 // Since the two-point radial gradient is slower than the plain radial
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGResourceGradient.h 28 #include "Gradient.h"
38 RefPtr<Gradient> gradient; member in struct:WebCore::GradientData
57 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
RenderSVGResourceLinearGradient.cpp 52 // Determine gradient start/end points
57 gradientData->gradient = Gradient::create(startPoint, endPoint);
58 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
RenderSVGResourceRadialGradient.cpp 52 // Determine gradient focal/center points and radius
58 gradientData->gradient = Gradient::create(focalPoint,
63 gradientData->gradient->setSpreadMethod(m_attributes.spreadMethod());
RenderSVGResourceGradient.cpp 163 // then the given effect (e.g. a gradient or a filter) will be ignored.
174 // Create gradient object
175 if (!gradientData->gradient) {
178 // CG platforms will handle the gradient space transform for text after applying the
180 // box applied to the gradient space transform now, so the gradient shader can use it.
194 gradientData->gradient->setGradientSpaceTransform(gradientData->userspaceTransform);
197 if (!gradientData->gradient)
200 // Draw gradient
219 context->setFillGradient(gradientData->gradient);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
GradientQt.cpp 28 #include "Gradient.h"
38 void Gradient::platformDestroy()
44 QGradient* Gradient::platformGradient()
95 // where the latter requires the gradient to be transparent black.
114 void Gradient::fill(GraphicsContext* context, const FloatRect& rect)
  /external/webkit/Source/WebCore/css/
CSSGradientValue.h 37 class Gradient;
67 bool deprecatedType() const { return m_deprecatedType; } // came from -webkit-gradient
77 void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0);
79 // Create the gradient for a given size.
80 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&) = 0;
97 bool m_deprecatedType; // -webkit-gradient()
121 // Create the gradient for a given size.
122 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
153 // Create the gradient for a given size.
154 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&)
    [all...]
  /external/skia/src/animator/
SkDrawGradient.h 20 DECLARE_PRIVATE_MEMBER_INFO(Gradient);
  /external/webkit/Source/WebKit2/UIProcess/
FindIndicator.cpp 30 #include <WebCore/Gradient.h>
161 RefPtr<Gradient> gradient = Gradient::create(FloatPoint(innerPathRect.x(), innerPathRect.y()), FloatPoint(innerPathRect.x(), innerPathRect.maxY())); local
162 gradient->addColorStop(0, gradientLightColor());
163 gradient->addColorStop(1, gradientDarkColor());
164 graphicsContext.setFillGradient(gradient);
  /frameworks/base/libs/hwui/
Program.h 103 enum Gradient {
129 Gradient gradientType;

Completed in 674 milliseconds

1 2