Lines Matching refs:graphicsContext
31 #include <WebCore/GraphicsContext.h>
145 void FindIndicator::draw(GraphicsContext& graphicsContext, const IntRect& dirtyRect)
151 graphicsContext.save();
153 graphicsContext.setShadow(FloatSize(shadowOffsetX, shadowOffsetY), shadowBlurRadius, shadowColor(), ColorSpaceSRGB);
154 graphicsContext.setFillColor(lightBorderColor(), ColorSpaceDeviceRGB);
155 graphicsContext.fillPath(pathWithRoundedRect(outerPathRect, cornerRadius));
156 graphicsContext.restore();
158 graphicsContext.save();
160 graphicsContext.clip(pathWithRoundedRect(innerPathRect, cornerRadius));
164 graphicsContext.setFillGradient(gradient);
165 graphicsContext.fillRect(outerPathRect);
166 graphicsContext.restore();
168 graphicsContext.save();
169 graphicsContext.translate(FloatSize(roundf(leftBorderThickness), roundf(topBorderThickness)));
170 m_contentImage->paint(graphicsContext, IntPoint(0, 0), m_contentImage->bounds());
171 graphicsContext.restore();