Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGradient.cpp44 Gradient::Gradient(const FloatPoint& p0, const FloatPoint& p1) in Gradient() function in WebCore::Gradient
57 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRati… in Gradient() function in WebCore::Gradient
70 Gradient::~Gradient() in ~Gradient()
74 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops()
79 void Gradient::addColorStop(const Gradient::ColorStop& stop) in addColorStop()
91 void Gradient::sortStopsIfNecessary() in sortStopsIfNecessary()
104 bool Gradient::hasAlpha() const in hasAlpha()
114 void Gradient::setSpreadMethod(GradientSpreadMethod spreadMethod) in setSpreadMethod()
125 void Gradient::setDrawsInPMColorSpace(bool drawInPMColorSpace) in setDrawsInPMColorSpace()
134 void Gradient::setGradientSpaceTransform(const AffineTransform& gradientSpaceTransformation) in setGradientSpaceTransform()
[all …]
DGradient.h49 class PLATFORM_EXPORT Gradient : public RefCounted<Gradient> {
51 static PassRefPtr<Gradient> create(const FloatPoint& p0, const FloatPoint& p1) in create()
53 return adoptRef(new Gradient(p0, p1)); in create()
55 …static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1,…
57 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio));
59 ~Gradient();
126 Gradient(const FloatPoint& p0, const FloatPoint& p1);
127 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
DGradientGeneratedImage.h40 …static PassRefPtr<GradientGeneratedImage> create(PassRefPtr<Gradient> generator, const IntSize& si… in create()
56 GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size) in GradientGeneratedImage()
62 RefPtr<Gradient> m_gradient;
DGraphicsContextState.h81 void setStrokeGradient(const PassRefPtr<Gradient>);
100 Gradient* fillGradient() const { return m_fillGradient.get(); } in fillGradient()
101 void setFillGradient(const PassRefPtr<Gradient>);
168 RefPtr<Gradient> m_fillGradient;
DStrokeData.h67 Gradient* gradient() const { return m_gradient.get(); } in gradient()
68 void setGradient(const PassRefPtr<Gradient> gradient) { m_gradient = gradient; } in setGradient()
101 RefPtr<Gradient> m_gradient;
DGraphicsContext.h135 Gradient* strokeGradient() const { return immutableState()->strokeData().gradient(); } in strokeGradient()
136 void setStrokeGradient(PassRefPtr<Gradient>);
153 void setFillGradient(PassRefPtr<Gradient>);
154 Gradient* fillGradient() const { return immutableState()->fillGradient(); } in fillGradient()
DGraphicsContextState.cpp101 void GraphicsContextState::setStrokeGradient(const PassRefPtr<Gradient> gradient) in setStrokeGradient()
160 void GraphicsContextState::setFillGradient(const PassRefPtr<Gradient> gradient) in setFillGradient()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DGradientAttributes.h41 const Vector<Gradient::ColorStop>& stops() const { return m_stops; } in stops()
61 void setStops(const Vector<Gradient::ColorStop>& value) in setStops()
75 Vector<Gradient::ColorStop> m_stops;
89 Vector<Gradient::ColorStop> b;
DSVGGradientElement.cpp118 Vector<Gradient::ColorStop> SVGGradientElement::buildStops() in buildStops()
120 Vector<Gradient::ColorStop> stops; in buildStops()
129 stops.append(Gradient::ColorStop(offset, stop->stopColorIncludingOpacity())); in buildStops()
DSVGGradientElement.h53 Vector<Gradient::ColorStop> buildStops();
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacCommon.mm32 #include "platform/graphics/Gradient.h"
184 RefPtr<Gradient> gradient;
196 …gradient = Gradient::create(FloatPoint(0, shadowRect.maxY()), FloatPoint(0, shadowRect.maxY() - kS…
200 … gradient = Gradient::create(FloatPoint(0, shadowRect.y()), FloatPoint(0, shadowRect.maxY()));
222 …gradient = Gradient::create(FloatPoint(0, shadowRect.y()), FloatPoint(0, shadowRect.y() + kShadowS…
232 RefPtr<Gradient> gradient;
237 … gradient = Gradient::create(FloatPoint(shadowRect.maxX(), 0), FloatPoint(shadowRect.x(), 0));
239 … gradient = Gradient::create(FloatPoint(shadowRect.x(), 0), FloatPoint(shadowRect.maxX(), 0));
250 … gradient = Gradient::create(FloatPoint(0, shadowRect.y()), FloatPoint(0, shadowRect.maxY()));
259 …RefPtr<Gradient> gradient = Gradient::create(shadowCornerOrigin, 0, shadowCornerOrigin, kShadowSiz…
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasGradient.cpp38 : m_gradient(Gradient::create(p0, p1)) in CanvasGradient()
44 : m_gradient(Gradient::create(p0, r0, p1, r1)) in CanvasGradient()
DCanvasGradient.h51 Gradient* gradient() const { return m_gradient.get(); } in gradient()
59 RefPtr<Gradient> m_gradient;
DCanvasStyle.cpp116 : m_type(Gradient) in CanvasStyle()
190 case Gradient: in isEquivalentColor()
235 case Gradient: in applyStrokeColor()
262 case Gradient: in applyFillColor()
DCanvasStyle.h69 … enum Type { RGBA, CMYKA, Gradient, ImagePattern, CurrentColor, CurrentColorWithOverrideAlpha }; enumerator
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGResourceGradient.h38 RefPtr<Gradient> gradient;
55 void addStops(GradientData*, const Vector<Gradient::ColorStop>&) const;
DRenderSVGResourceGradient.cpp153 void RenderSVGResourceGradient::addStops(GradientData* gradientData, const Vector<Gradient::ColorSt… in addStops()
157 const Vector<Gradient::ColorStop>::const_iterator end = stops.end(); in addStops()
158 for (Vector<Gradient::ColorStop>::const_iterator it = stops.begin(); it != end; ++it) in addStops()
DRenderSVGResourceLinearGradient.cpp58 gradientData->gradient = Gradient::create(startPoint(m_attributes), endPoint(m_attributes)); in buildGradient()
DRenderSVGResourceRadialGradient.cpp69 gradientData->gradient = Gradient::create(this->focalPoint(m_attributes), in buildGradient()
DRenderSVGPath.cpp70 if (Gradient* gradient = context->strokeGradient()) in useStrokeStyleToFill()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.h37 class Gradient; variable
133 void addStops(Gradient*, const CSSToLengthConversionData&, float maxLengthForRepeat = 0);
169 PassRefPtr<Gradient> createGradient(const CSSToLengthConversionData&, const IntSize&);
221 PassRefPtr<Gradient> createGradient(const CSSToLengthConversionData&, const IntSize&);
DCSSGradientValue.cpp67 RefPtr<Gradient> gradient; in image()
141 void CSSGradientValue::addStops(Gradient* gradient, const CSSToLengthConversionData& conversionData… in addStops()
647 PassRefPtr<Gradient> CSSLinearGradientValue::createGradient(const CSSToLengthConversionData& conver… in createGradient()
703 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); in createGradient()
991 PassRefPtr<Gradient> CSSRadialGradientValue::createGradient(const CSSToLengthConversionData& conver… in createGradient()
1116 …RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, a… in createGradient()
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_rendering.c103 static void Gradient(short *block, unsigned int start, unsigned int stop, int horizontal, unsigned … in Gradient() function
218 Gradient in main()
235 Gradient in main()
246 Gradient in main()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
Dtest_rendering.c103 static void Gradient(short *block, unsigned int start, unsigned int stop, int horizontal, unsigned … in Gradient() function
218 Gradient in main()
235 Gradient in main()
246 Gradient in main()
/external/chromium_org/remoting/codec/
Dvideo_decoder_vpx_unittest.cc66 TEST_F(VideoDecoderVp8Test, Gradient) { in TEST_F() argument
116 TEST_F(VideoDecoderVp9Test, Gradient) { in TEST_F() argument

12