Home
last modified time | relevance | path

Searched refs:imgf (Results 1 – 4 of 4) sorted by relevance

/external/skqp/gm/
Doffsetimagefilter.cpp111 void doDraw(SkCanvas* canvas, const SkRect& r, sk_sp<SkImageFilter> imgf, in doDraw() argument
122 if (imgf && imgf->cropRectIsSet()) { in doDraw()
123 SkImageFilter::CropRect cr = imgf->getCropRect(); in doDraw()
138 if (imgf) { in doDraw()
139 p.setImageFilter(std::move(imgf)); in doDraw()
/external/skia/gm/
Doffsetimagefilter.cpp116 void doDraw(SkCanvas* canvas, const SkRect& r, sk_sp<SkImageFilter> imgf, in doDraw() argument
128 if (imgf && cropR) { in doDraw()
144 if (imgf) { in doDraw()
145 p.setImageFilter(std::move(imgf)); in doDraw()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts297 const imgf = CK.ImageFilter; // less typing constant
298 const filter = imgf.MakeBlur(2, 4, CK.TileMode.Mirror, null); // $ExpectType ImageFilter
299 const filter1 = imgf.MakeBlur(2, 4, CK.TileMode.Decal, filter); // $ExpectType ImageFilter
300 const filter2 = imgf.MakeColorFilter(colorFilter, null); // $ExpectType ImageFilter
301 const filter3 = imgf.MakeColorFilter(colorFilter, filter); // $ExpectType ImageFilter
302 const filter4 = imgf.MakeCompose(null, filter2); // $ExpectType ImageFilter
303 const filter5 = imgf.MakeCompose(filter3, null); // $ExpectType ImageFilter
304 const filter6 = imgf.MakeCompose(filter4, filter2); // $ExpectType ImageFilter
305 const filter7 = imgf.MakeMatrixTransform(CK.Matrix.scaled(2, 3, 10, 10),
307 const filter8 = imgf.MakeMatrixTransform(CK.M44.identity(),
/external/skqp/src/core/
DSkCanvas.cpp324 SkImageFilter* imgf = paint.getImageFilter(); in image_to_color_filter() local
325 if (!imgf) { in image_to_color_filter()
330 if (!imgf->asAColorFilter(&imgCFPtr)) { in image_to_color_filter()