Searched refs:newPaint (Results 1 – 15 of 15) sorted by relevance
45 SkPaint newPaint(paint); in onDraw() local46 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw()49 canvas->drawRect(rect, newPaint); in onDraw()
5 local paint = Sk.newPaint();25 path_paint = Sk.newPaint();47 local paint = Sk.newPaint();
22 local paint = Sk.newPaint();43 local paint = Sk.newPaint()131 gRedPaint = Sk.newPaint()297 bgPaint = Sk.newPaint()
50 paint = Sk.newPaint(),96 paint = Sk.newPaint(),
240 GrPaint newPaint(paint); in directFilterRRectMaskGPU() local241 GrColor4f color = newPaint.getColor4f(); in directFilterRRectMaskGPU()243 newPaint.setColor4f(color); in directFilterRRectMaskGPU()247 rtContext->drawShadowRRect(clip, std::move(newPaint), viewMatrix, ambientRRect, in directFilterRRectMaskGPU()
27 SkPaint newPaint; in onFilter() local28 newPaint.setPathEffect(sk_ref_sp<SkPathEffect>((*paint)->getPathEffect())); in onFilter()43 newPaint.setColor(color); in onFilter()45 *paint->writable() = newPaint; in onFilter()
469 SkPaint newPaint; in DrawShadow() local470 newPaint.setColor(color); in DrawShadow()472 newPaint.setMaskFilter(SkAmbientShadowMaskFilter::Make(occluderHeight, ambientAlpha, in DrawShadow()474 canvas->drawPath(path, newPaint); in DrawShadow()477 newPaint.setMaskFilter(SkSpotShadowMaskFilter::Make(occluderHeight, devLightPos, in DrawShadow()479 canvas->drawPath(path, newPaint); in DrawShadow()
182 MoveOrImpl(GrPaint& paint, bool newPaint) { in MoveOrImpl() argument183 if (newPaint) { in MoveOrImpl()
638 SkPaint newPaint(origPaint); in drawStrokedLine() local639 newPaint.setStyle(SkPaint::kFill_Style); in drawStrokedLine()659 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext.get(), newPaint, m, &grPaint)) { in drawStrokedLine()664 this->clip(), std::move(grPaint), GrBoolToAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
304 SkPaint newPaint = fPaint; in overdrawPaint() local305 newPaint.setStyle(paint.getStyle()); in overdrawPaint()306 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()307 return newPaint; in overdrawPaint()
564 SkPaint newPaint(paint); in drawPoints() local565 newPaint.setStyle(SkPaint::kFill_Style); in drawPoints()567 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()570 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()581 device->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()583 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()595 device->drawRect(r, newPaint); in drawPoints()597 this->drawRect(r, newPaint); in drawPoints()
2525 SkPaint* newPaint = fLazy.set(paint); in SkDeviceFilteredPaint() local2526 newPaint->setFlags(filteredFlags); in SkDeviceFilteredPaint()2527 fPaint = newPaint; in SkDeviceFilteredPaint()
37 > paint = Sk.newPaint()
546 SkPaint newPaint = paint; in drawPaint() local547 replace_srcmode_on_opaque_paint(&newPaint); in drawPaint()549 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint()550 ScopedContentEntry content(this, newPaint); in drawPaint()551 this->internalDrawPaint(newPaint, content.entry()); in drawPaint()1990 SkPaint newPaint = paint; in populateGraphicStateEntryFromPaint() local1991 newPaint.setColor(color); in populateGraphicStateEntryFromPaint()1993 SkPDFGraphicState::GetGraphicStateForPaint(fDocument->canon(), newPaint)); in populateGraphicStateEntryFromPaint()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...