Searched refs:restorePaint (Results 1 – 2 of 2) sorted by relevance
219 const SkPaint& restorePaint) { in newLayer() argument221 fLayer = std::make_unique<Layer>(std::move(layerDevice), std::move(filter), restorePaint); in newLayer()314 SkPaint restorePaint; in AutoLayerForImageFilter() local315 restorePaint.setImageFilter(fPaint.refImageFilter()); in AutoLayerForImageFilter()316 restorePaint.setBlender(fPaint.refBlender()); in AutoLayerForImageFilter()330 (void)canvas->internalSaveLayer(SkCanvas::SaveLayerRec(rawBounds, &restorePaint), in AutoLayerForImageFilter()1007 const SkPaint& restorePaint) { in must_cover_prior_device() argument1030 SkPaint restorePaint(rec.fPaint ? *rec.fPaint : SkPaint()); in internalSaveLayer() local1031 restorePaint.setMaskFilter(nullptr); // mask filters are ignored for saved layers in internalSaveLayer()1032 restorePaint.setImageFilter(nullptr); // the image filter is held separately in internalSaveLayer()[all …]
2409 const SkPaint& restorePaint);