Home
last modified time | relevance | path

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

12

/external/skqp/gm/
Ddrawbitmaprect.cpp92 const SkRect& dstR, const SkPaint* paint) { in bitmapproc() argument
93 canvas->drawBitmapRect(bm, srcR, dstR, paint); in bitmapproc()
97 const SkRect& dstR, const SkPaint* paint) { in bitmapsubsetproc() argument
99 bitmapproc(canvas, nullptr, bm, srcR, dstR, paint); in bitmapsubsetproc()
105 canvas->drawBitmapRect(subset, dstR, paint); in bitmapsubsetproc()
110 const SkRect& dstR, const SkPaint* paint) { in imageproc() argument
111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc()
115 const SkIRect& srcR, const SkRect& dstR, const SkPaint* paint) { in imagesubsetproc() argument
117 imageproc(canvas, image, bm, srcR, dstR, paint); in imagesubsetproc()
122 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
Dbitmaprect.cpp64 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local
73 canvas->drawBitmapRect(bitmap, srcR, dstR, &paint, in onDraw()
76 canvas->drawBitmapRect(bitmap, src[i], dstR, &paint); in onDraw()
79 canvas->drawRect(dstR, paint); in onDraw()
144 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local
146 canvas->drawBitmapRect(bitmap, srcR, dstR, nullptr, SkCanvas::kStrict_SrcRectConstraint); in onDraw()
/external/skia/gm/
Ddrawbitmaprect.cpp92 const SkRect& dstR, const SkPaint* paint) { in bitmapproc() argument
93 canvas->drawBitmapRect(bm, srcR, dstR, paint); in bitmapproc()
97 const SkRect& dstR, const SkPaint* paint) { in bitmapsubsetproc() argument
99 bitmapproc(canvas, nullptr, bm, srcR, dstR, paint); in bitmapsubsetproc()
105 canvas->drawBitmapRect(subset, dstR, paint); in bitmapsubsetproc()
110 const SkRect& dstR, const SkPaint* paint) { in imageproc() argument
111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc()
115 const SkIRect& srcR, const SkRect& dstR, const SkPaint* paint) { in imagesubsetproc() argument
117 imageproc(canvas, image, bm, srcR, dstR, paint); in imagesubsetproc()
122 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
Dbitmaprect.cpp64 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local
73 canvas->drawBitmapRect(bitmap, srcR, dstR, &paint, in onDraw()
76 canvas->drawBitmapRect(bitmap, src[i], dstR, &paint); in onDraw()
79 canvas->drawRect(dstR, paint); in onDraw()
144 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local
146 canvas->drawBitmapRect(bitmap, srcR, dstR, nullptr, SkCanvas::kStrict_SrcRectConstraint); in onDraw()
/external/skqp/src/core/
DSkImageInfo.cpp149 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local
150 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
165 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
166 fX = dstR.x(); in trim()
167 fY = dstR.y(); in trim()
DSkDevice.cpp172 SkRect srcR, dstR; in drawImageNine() local
173 while (iter.next(&srcR, &dstR)) { in drawImageNine()
174 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageNine()
182 SkRect srcR, dstR; in drawBitmapNine() local
183 while (iter.next(&srcR, &dstR)) { in drawBitmapNine()
184 this->drawBitmapRect(bitmap, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawBitmapNine()
193 SkRect srcR, dstR; in drawImageLattice() local
198 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice()
207 this->drawRect(dstR, paintCopy); in drawImageLattice()
210 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageLattice()
[all …]
DSkMaskFilter.cpp478 SkRect srcR, dstR; in computeFastBounds() local
480 as_MFB(fDst)->computeFastBounds(src, &dstR); in computeFastBounds()
481 *dst = join(srcR, dstR); in computeFastBounds()
/external/skia/src/core/
DSkImageInfo.cpp151 SkIRect dstR = SkIRect::MakeXYWH(x, y, fInfo.width(), fInfo.height()); in trim() local
152 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
167 fInfo = fInfo.makeWH(dstR.width(), dstR.height()); in trim()
168 fX = dstR.x(); in trim()
169 fY = dstR.y(); in trim()
DSkDevice.cpp164 SkRect srcR, dstR; in drawImageNine() local
165 while (iter.next(&srcR, &dstR)) { in drawImageNine()
166 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageNine()
174 SkRect srcR, dstR; in drawBitmapNine() local
175 while (iter.next(&srcR, &dstR)) { in drawBitmapNine()
176 this->drawBitmapRect(bitmap, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawBitmapNine()
185 SkRect srcR, dstR; in drawImageLattice() local
190 while (iter.next(&srcR, &dstR, &isFixedColor, &c)) { in drawImageLattice()
199 this->drawRect(dstR, paintCopy); in drawImageLattice()
202 this->drawImageRect(image, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); in drawImageLattice()
[all …]
DSkMaskFilter.cpp478 SkRect srcR, dstR; in computeFastBounds() local
480 as_MFB(fDst)->computeFastBounds(src, &dstR); in computeFastBounds()
481 *dst = join(srcR, dstR); in computeFastBounds()
/external/skqp/src/image/
DSkSurface.cpp216 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local
217 if (SkIRect::Intersects(srcR, dstR)) { in writePixels()
219 if (srcR.contains(dstR)) { in writePixels()
DSkImage_Lazy.cpp148 const SkIRect dstR = SkIRect::MakeXYWH(originX, originY, pmap.width(), pmap.height()); in generate_pixels() local
149 if (!srcR.contains(dstR)) { in generate_pixels()
158 if (srcR != dstR) { in generate_pixels()
172 if (srcR != dstR) { in generate_pixels()
/external/skia/src/image/
DSkImage_Lazy.cpp149 const SkIRect dstR = SkIRect::MakeXYWH(originX, originY, pmap.width(), pmap.height()); in generate_pixels() local
150 if (!srcR.contains(dstR)) { in generate_pixels()
159 if (srcR != dstR) { in generate_pixels()
173 if (srcR != dstR) { in generate_pixels()
DSkSurface.cpp216 const SkIRect dstR = SkIRect::MakeWH(this->width(), this->height()); in writePixels() local
217 if (SkIRect::Intersects(srcR, dstR)) { in writePixels()
219 if (srcR.contains(dstR)) { in writePixels()
/external/skia/modules/skottie/src/
DSkottie.cpp556 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render()
557 this->render(canvas, dstR, 0); in render()
560 void Animation::render(SkCanvas* canvas, const SkRect* dstR, RenderFlags renderFlags) const { in render() argument
569 if (dstR) { in render()
570 canvas->concat(SkMatrix::MakeRectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
/external/skia/tools/viewer/
DSkottieSlide.cpp130 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local
131 fAnimation->render(canvas, &dstR); in draw()
/external/skqp/tools/viewer/
DSkottieSlide.cpp130 const auto dstR = SkRect::MakeSize(fWinSize); in draw() local
131 fAnimation->render(canvas, &dstR); in draw()
/external/skia/samplecode/
DSampleStrokePath.cpp21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local
39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
/external/skqp/samplecode/
DSampleStrokePath.cpp21 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local
39 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
/external/skia/tests/
DDrawBitmapRectTest.cpp248 SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; in DEF_TEST() local
250 canvas.drawBitmapRect(src, srcR, dstR, nullptr); in DEF_TEST()
/external/skqp/tests/
DDrawBitmapRectTest.cpp248 SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; in DEF_TEST() local
250 canvas.drawBitmapRect(src, srcR, dstR, nullptr); in DEF_TEST()
/external/skqp/src/gpu/ops/
DGrLatticeOp.cpp253 SkRect dstR; in onPrepareDraws() local
260 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws()
275 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
/external/skqp/modules/skottie/src/
DSkottie.cpp492 void Animation::render(SkCanvas* canvas, const SkRect* dstR) const { in render()
500 if (dstR) { in render()
501 canvas->concat(SkMatrix::MakeRectToRect(srcR, *dstR, SkMatrix::kCenter_ScaleToFit)); in render()
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp255 SkRect dstR; in onPrepareDraws() local
262 while (patch.fIter->next(&srcR, &dstR)) { in onPrepareDraws()
277 vertices.writeQuad(GrVertexWriter::TriStripFromRect(dstR), in onPrepareDraws()
/external/skqp/src/utils/
DSkLua.cpp495 SkRect srcR, dstR; in lcanvas_drawImageRect() local
500 lua2rect(L, 4, &dstR); in lcanvas_drawImageRect()
503 canvas->legacy_drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImageRect()
1204 SkRect srcR, dstR; in lmatrix_setRectToRect() local
1206 lua2rect(L, 3, &dstR); in lmatrix_setRectToRect()
1229 matrix->setRectToRect(srcR, dstR, scaleToFit); in lmatrix_setRectToRect()

12