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