Home
last modified time | relevance | path

Searched refs:drawImageRect (Results 1 – 25 of 40) sorted by relevance

12

/external/skia/gm/
Dmipmap.cpp46 canvas->drawImageRect(img.get(), dst, &paint);
77 canvas->drawImageRect(img, SkRect::Make(dst), &paint); in show_mips()
126 canvas->drawImageRect(img, SkRect::Make(dst), &paint); in show_mips_only()
Dimagemasksubset.cpp84 canvas->drawImageRect(image, SkRect::Make(kSubset), kDest, &paint);
86 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
Ddrawbitmaprect.cpp117 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc()
128 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
173 canvas->drawImageRect(fImage, SkRect::MakeIWH(gSize, gSize), &paint); in onDraw()
Dverylargebitmap.cpp62 canvas->drawImageRect(image, subset, dstRect, nullptr); in show_image()
66 canvas->drawImageRect(image, dstRect, nullptr); in show_image()
Dimage.cpp96 canvas->drawImageRect(imgR, src1, dst1, usePaint ? &paint : nullptr); in test_surface()
97 canvas->drawImageRect(imgG, src2, dst2, usePaint ? &paint : nullptr); in test_surface()
98 canvas->drawImageRect(imgR, src3, dst3, usePaint ? &paint : nullptr); in test_surface()
99 canvas->drawImageRect(imgG, dst4, usePaint ? &paint : nullptr); in test_surface()
Dcroppedrects.cpp74 canvas->drawImageRect(fSrcImage.get(), in onDraw()
Dbigtileimagefilter.cpp90 canvas->drawImageRect(fGreenImage.get(), bound2, bound3, nullptr, in onDraw()
Ddrawminibitmaprect.cpp117 canvas->drawImageRect(fImage.get(), srcRect, dstRect, &paint, in onDraw()
Dbleed.cpp218 canvas->drawImageRect(pixels.fImage.get(), src, dst, paint, constraint); in drawPixels()
504 surf->getCanvas()->drawImageRect(img, src, SkRect::MakeWH(1, 1), &paint, constraint);
506 canvas->drawImageRect(surf->makeImageSnapshot(), SkRect::MakeWH(100, 100), nullptr);
Dimagescalealigned.cpp137 canvas->drawImageRect(img.get(), dst, &paint); in drawSet()
/external/skia/samplecode/
DSampleTextureDomain.cpp74 canvas->drawImageRect(image, srcRect, dstRect, &paint); in onDrawContent()
85 canvas->drawImageRect(image, srcRect, dstRect, &paint); in onDrawContent()
DSampleAnimatedText.cpp108 canvas->drawImageRect(image, in onDrawContent()
DSampleShip.cpp41 canvas->drawImageRect(atlas, tex[i], tex[i].makeOffset(-tex[i].x(), -tex[i].y()), paint, in draw_atlas_sim()
/external/skia/src/pdf/
DSkPDFCanvas.cpp52 this->drawImageRect(image, srcR, dstR, paint); in onDrawImageNine()
83 this->drawImageRect(image, srcR, dstR, paint); in onDrawImageLattice()
DSkBitmapKey.h68 canvas->drawImageRect(fImage.get(), src, dst, paint); in draw()
/external/skia/include/core/
DSkCanvas.h834 void drawImageRect(const SkImage* image, const SkRect& src, const SkRect& dst,
838 void drawImageRect(const SkImage* image, const SkIRect& isrc, const SkRect& dst,
841 void drawImageRect(const SkImage* image, const SkRect& dst, const SkPaint* paint,
844 void drawImageRect(const sk_sp<SkImage>& image, const SkRect& src, const SkRect& dst,
847 this->drawImageRect(image.get(), src, dst, paint, constraint);
849 void drawImageRect(const sk_sp<SkImage>& image, const SkIRect& isrc, const SkRect& dst,
851 this->drawImageRect(image.get(), isrc, dst, paint, cons);
853 void drawImageRect(const sk_sp<SkImage>& image, const SkRect& dst, const SkPaint* paint,
855 this->drawImageRect(image.get(), dst, paint, cons);
/external/skia/src/utils/
DSkRGBAToYUV.cpp53 surface->getCanvas()->drawImageRect(image, SkIRect::MakeWH(image->width(), image->height()), in SkRGBAToYUV()
/external/skia/resources/
Dtest.lua70 canvas:drawImageRect(image, nil, r2, 0.75);
/external/skia/tests/
DRecorderTest.cpp101 recorder.drawImageRect(image, SkRect::MakeWH(100, 100), nullptr); in DEF_TEST()
/external/skia/src/core/
DSkLiteRecorder.cpp142 fDL->drawImageRect(SkImage::MakeFromBitmap(bm), src, dst, paint, constraint); in onDrawBitmapRect()
163 fDL->drawImageRect(sk_ref_sp(img), src, dst, paint, constraint); in onDrawImageRect()
DSkDevice.cpp190 void SkBaseDevice::drawImageRect(const SkImage* image, const SkRect* src, in drawImageRect() function in SkBaseDevice
205 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageNine()
226 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageLattice()
DSkLiteDL.h69 void drawImageRect(sk_sp<const SkImage>, const SkRect*, const SkRect&, const SkPaint*,
DSkColorSpaceXformCanvas.cpp145 fTarget->drawImageRect(fXformer->apply(img).get(), in onDrawImageRect()
192 fTarget->drawImageRect(fXformer->apply(bitmap).get(), in onDrawBitmapRect()
/external/skia/src/effects/
DSkImageSource.cpp126 canvas->drawImageRect(fImage.get(), fSrcRect, dstRect, &paint, in onFilterImage()
/external/skia/src/c/
Dsk_surface.cpp405 canvas->drawImageRect(image, AsRect(*csrcR), dst, paint); in sk_canvas_draw_image_rect()
407 canvas->drawImageRect(image, dst, paint); in sk_canvas_draw_image_rect()

12