• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/graphics/cairo/

Lines Matching +defs:shadow +defs:color

71 // A helper which quickly fills a rectangle with a simple color fill.
72 static inline void fillRectWithColor(cairo_t* cr, const FloatRect& rect, const Color& color)
74 if (!color.alpha() && cairo_get_operator(cr) == CAIRO_OPERATOR_OVER)
76 setSourceRGBAFromColor(cr, color);
97 ShadowBlur& shadow = context->platformContext()->shadowBlur();
98 if (shadow.type() == ShadowBlur::NoShadow)
120 GraphicsContext* shadowContext = shadow.beginShadowLayer(context, solidFigureExtents);
126 // It's important to copy the context properties to the new shadow
145 // will take care of properly creating a path to draw the result shadow. We remove the path
149 shadow.endShadowLayer(context);
457 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace)
465 fillRectWithColor(platformContext()->cr(), rect, color);
509 static inline void adjustFocusRingColor(Color& color)
513 color.setRGB(makeRGBA(color.red(), color.green(), color.blue(), 127));
515 UNUSED_PARAM(color);
537 void GraphicsContext::drawFocusRing(const Path& path, int width, int /* offset */, const Color& color)
541 Color ringColor = color;
555 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int width, int /* offset */, const Color& color)
599 Color ringColor = color;
1049 void GraphicsContext::platformFillRoundedRect(const FloatRoundedRect& rect, const Color& color, ColorSpace)
1062 setSourceRGBAFromColor(cr, color);
1067 void GraphicsContext::fillRectWithRoundedHole(const FloatRect& rect, const FloatRoundedRect& roundedHoleRect, const Color& color, ColorSpace)
1069 if (paintingDisabled() || !color.isValid())