Home
last modified time | relevance | path

Searched refs:dstR (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/gm/
Ddrawbitmaprect.cpp108 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()
Dbitmaprect.cpp72 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()
Dgpu_blur_utils.cpp328 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/
DSkImageInfo.cpp193 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()
DSkDevice.cpp175 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()
DSkBlitter_ARGB32.cpp50 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()
DSkDraw.cpp1048 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/
DSkottie.cpp474 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/
DSkottieSlide.cpp209 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/
DSkSurface.cpp301 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/
DSampleStrokePath.cpp21 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/
DDrawBitmapRectTest.cpp252 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/
DLatticeOp.cpp271 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/
DSkArithmeticImageFilter.cpp173 SkIRect dstR = SkIRect::MakeWH(dst->width(), dst->height()); in intersect() local
176 if (!sect.intersect(dstR, srcR)) { in intersect()