/third_party/skia/gm/ |
D | drawbitmaprect.cpp | 108 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapproc() argument 110 canvas->drawImageRect(bm.asImage(), SkRect::Make(srcR), dstR, sampling, paint, in bitmapproc() 115 const SkRect& dstR, const SkSamplingOptions& sampling, in bitmapsubsetproc() argument 118 bitmapproc(canvas, nullptr, bm, srcR, dstR, sampling, paint); in bitmapsubsetproc() 124 canvas->drawImageRect(subset.asImage(), dstR, sampling, paint); in bitmapsubsetproc() 129 const SkRect& dstR, const SkSamplingOptions& sampling, const SkPaint* paint) { in imageproc() argument 130 canvas->drawImageRect(image, SkRect::Make(srcR), dstR, sampling, paint, in imageproc() 135 const SkIRect& srcR, const SkRect& dstR, in imagesubsetproc() argument 138 imageproc(canvas, image, bm, srcR, dstR, sampling, paint); in imagesubsetproc() 144 canvas->drawImageRect(subset, dstR, sampling, paint); in imagesubsetproc()
|
D | bitmaprect.cpp | 72 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local 81 canvas->drawImageRect(image.get(), srcR, dstR, sampling, &paint, in onDraw() 84 canvas->drawImageRect(image.get(), SkRect::Make(src[i]), dstR, sampling, &paint, in onDraw() 88 canvas->drawRect(dstR, paint); in onDraw() 153 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local 155 canvas->drawImageRect(bitmap.asImage(), srcR, dstR, SkSamplingOptions(), in onDraw()
|
D | gpu_blur_utils.cpp | 328 auto dstR = SkRect::Make(dstRect).makeOutset(0.5f, 0.5f); in run() local 329 sdc->drawRect(nullptr, std::move(paint), GrAA::kNo, m, dstR, &style); in run()
|
/third_party/skia/src/core/ |
D | SkImageInfo.cpp | 193 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local 194 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim() 209 fInfo = fInfo.makeDimensions(dstR.size()); in trim() 210 fX = dstR.x(); in trim() 211 fY = dstR.y(); in trim()
|
D | SkDevice.cpp | 175 SkRect srcR, dstR; in drawImageLattice() local 180 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice() 190 this->drawRect(dstR, paintCopy); in drawImageLattice() 193 this->drawImageRect(image, &srcR, dstR, SkSamplingOptions(filter), paint, in drawImageLattice()
|
D | SkBlitter_ARGB32.cpp | 50 int dstR = SkGetPackedR32(dst); in blend_lcd16() local 57 blend_32(srcR, dstR, maskR), in blend_lcd16() 85 int dstR = SkGetPackedR32(dst); in blend_lcd16_opaque() local 92 blend_32(srcR, dstR, maskR), in blend_lcd16_opaque()
|
D | SkDraw.cpp | 1048 SkRect dstR; in clipped_out() local 1049 m.mapRect(&dstR, srcR); in clipped_out() 1050 return c.quickReject(dstR.roundOut()); in clipped_out()
|
/third_party/skia/modules/skottie/src/ |
D | Skottie.cpp | 474 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render() 475 this->render(canvas, dstR, 0); in render() 478 void Animation::render(SkCanvas* canvas, const SkRect* dstR, RenderFlags renderFlags) const { in render() argument 487 if (dstR) { in render() 488 canvas->concat(SkMatrix::RectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
|
/third_party/skia/tools/viewer/ |
D | SkottieSlide.cpp | 209 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local 213 fAnimation->render(canvas, &dstR); in draw() 224 const auto t = SkMatrix::RectToRect(SkRect::MakeSize(fAnimation->size()), dstR, in draw()
|
/third_party/skia/src/image/ |
D | SkSurface.cpp | 301 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local 302 if (SkIRect::Intersects(srcR, dstR)) { in writePixels() 304 if (srcR.contains(dstR)) { in writePixels()
|
/third_party/skia/samplecode/ |
D | SampleStrokePath.cpp | 21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local 38 canvas->concat(SkMatrix::RectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit)); in test_huge_stroke()
|
/third_party/skia/tests/ |
D | DrawBitmapRectTest.cpp | 252 SkRect dstR = { 0, 0, 16, 16 }; in DEF_TEST() local 254 canvas.drawImageRect(src.asImage(), srcR, dstR, SkSamplingOptions(), nullptr, in DEF_TEST()
|
/third_party/skia/src/gpu/ops/ |
D | LatticeOp.cpp | 271 SkRect dstR; in onPrepareDraws() local 277 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws() 293 vertices.writeQuad(VertexWriter::TriStripFromRect(dstR), in onPrepareDraws() 299 patch.fViewMatrix.mapRectToQuad(mappedPts, dstR); in onPrepareDraws()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkArithmeticImageFilter.cpp | 173 SkIRect dstR = SkIRect::MakeWH(dst->width(), dst->height()); in intersect() local 176 if (!sect.intersect(dstR, srcR)) { in intersect()
|