| /external/webkit/Source/WebCore/html/canvas/ |
| CanvasStyle.h | 69 enum Type { RGBA, CMYKA, Gradient, ImagePattern, CurrentColor, CurrentColorWithOverrideAlpha };
|
| CanvasRenderingContext2D.cpp | 1007 // If x0 = x1 and y0 = y1, then the linear gradient must paint nothing 1008 // If x0 = x1 and y0 = y1 and r0 = r1, then the radial gradient must paint nothing 1009 Gradient* gradient = c->fillGradient(); 1010 if (gradient && gradient->isZeroSize()) 1486 RefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), FloatPoint(x1, y1)); local 1503 RefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), r0, FloatPoint(x1, y1), r1); local [all...] |
| /external/webkit/Source/WebCore/css/ |
| CSSGradientValue.cpp | 32 #include "Gradient.h" 112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) 130 gradient->addColorStop(offset, color); 134 gradient->setStopsSorted(true); 145 FloatPoint gradientStart = gradient->p0(); 148 gradientEnd = gradient->p1(); 150 gradientEnd = gradientStart + FloatSize(gradient->endRadius(), 0); 230 // If the gradient is repeating, repeat the color stops. 231 // We can't just push this logic down into the platform-specific Gradient code 553 RefPtr<Gradient> gradient = Gradient::create(firstPoint, secondPoint); local 845 RefPtr<Gradient> gradient = Gradient::create(firstPoint, firstRadius, secondPoint, secondRadius, aspectRatio); local [all...] |
| /external/webkit/Source/WebCore/rendering/ |
| RenderMediaControlsChromium.cpp | 31 #include "Gradient.h" 153 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); local 155 gradient->addColorStop(0.0, startColor); 156 gradient->addColorStop(1.0, Color(startColor.red() / 2, startColor.green() / 2, startColor.blue() / 2, startColor.alpha())); 160 context->setFillGradient(gradient);
|
| /external/webkit/Source/WebCore/platform/graphics/ |
| GraphicsContext.cpp | 282 void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient) 284 ASSERT(gradient); 285 if (!gradient) { 289 m_state.strokeGradient = gradient; 294 void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient) 296 ASSERT(gradient); 297 if (!gradient) { 301 m_state.fillGradient = gradient; [all...] |
| /external/webkit/Source/WebCore/svg/ |
| SVGLinearGradientElement.cpp | 160 const Vector<Gradient::ColorStop>& stops(current->buildStops()); 202 // Determine gradient start/end points
|
| SVGRadialGradientElement.cpp | 74 document()->accessSVGExtensions()->reportError("A negative value for radial gradient radius <r> is not allowed"); 171 const Vector<Gradient::ColorStop>& stops(current->buildStops()); 223 // Determine gradient focal/center points and radius
|
| /external/webkit/Source/WebCore/platform/graphics/wince/ |
| GraphicsContextWinCE.cpp | 29 #include "Gradient.h" 41 typedef void (*FuncGradientFillRectLinear)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, const Vector<Gradient::ColorStop>& stops); 42 typedef void (*FuncGradientFillRectRadial)(HDC hdc, const IntRect& r, const IntPoint& p0, const IntPoint& p1, float r0, float r1, const Vector<Gradient::ColorStop>& stops); [all...] |
| /external/webkit/Source/WebCore/platform/gtk/ |
| RenderThemeGtk.cpp | 30 #include "Gradient.h" 541 // Chrome for the gradient code. 573 RefPtr<Gradient> gradient = Gradient::create(sliderTopLeft, sliderTopRight); local 575 gradient->addColorStop(0.0, startColor); 576 gradient->addColorStop(1.0, Color(startColor.red() / 2, startColor.green() / 2, startColor.blue() / 2, startColor.alpha())); 578 context->setFillGradient(gradient);
|
| /external/webkit/Source/WebCore/platform/graphics/skia/ |
| GraphicsContextSkia.cpp | 38 #include "Gradient.h" 1007 void GraphicsContext::setPlatformFillGradient(Gradient* gradient) 1012 platformContext()->setFillShader(gradient->platformGradient()); [all...] |
| /external/skia/src/animator/ |
| SkDisplayType.cpp | 140 // gradient 295 CASE_GET_INFO(Gradient); 462 // gradient
|
| /external/webkit/Source/WebCore/platform/graphics/android/ |
| GraphicsContextAndroid.cpp | 29 #include "Gradient.h" 454 static void extactShader(SkPaint* paint, Pattern* pat, Gradient* grad) [all...] |
| /external/webkit/Source/WebCore/ |
| Android.mk | 617 platform/graphics/Gradient.cpp \ [all...] |