/external/skia/gm/ |
D | drawbitmaprect.cpp | 83 const SkRect& dstR) { in canvasproc() argument 84 canvas->drawBitmapRect(bm, srcR, dstR); in canvasproc() 88 const SkRect& dstR) { in imageproc() argument 94 canvas->drawImageRect(image, srcR, dstR); in imageproc() 98 const SkRect& dstR) { in imagescaleproc() argument 99 const int newW = SkScalarRoundToInt(dstR.width()); in imagescaleproc() 100 const int newH = SkScalarRoundToInt(dstR.height()); in imagescaleproc() 110 canvas->drawImage(newImage, dstR.x(), dstR.y()); in imagescaleproc()
|
D | bitmaprect.cpp | 64 SkRect dstR = { 0, 200, 128, 380 }; in onDraw() local 73 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, &paint); in onDraw() 75 canvas->drawBitmapRect(bitmap, &src[i], dstR, &paint); in onDraw() 78 canvas->drawRect(dstR, paint); in onDraw() 143 SkRect dstR = { 100, 100, 300, 200 }; in onDraw() local 145 canvas->drawBitmapRectToRect(bitmap, &srcR, dstR, NULL); in onDraw()
|
D | image.cpp | 239 SkRect dstR = SkRect::MakeWH(SkIntToScalar(newW), SkIntToScalar(newH)); in drawResized() local 244 canvas->drawImageRect(image, subset ? &srcR : NULL, dstR, &paint); in drawResized()
|
/external/skia/src/core/ |
D | SkBlitMask_D32.cpp | 308 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Blend() local 315 src_alpha_blend(srcR, dstR, srcA, maskR), in LCD16_RowProc_Blend() 349 int dstR = SkGetPackedR32(d); in LCD16_RowProc_Opaque() local 356 SkBlend32(srcR, dstR, maskR), in LCD16_RowProc_Opaque()
|
D | SkDraw.cpp | 1228 SkRect dstR; in clipped_out() local 1229 m.mapRect(&dstR, srcR); in clipped_out() 1230 return c.quickReject(dstR.roundOut()); in clipped_out()
|
/external/skia/samplecode/ |
D | SampleStrokePath.cpp | 20 SkRect dstR = { 0, 0, 640, 480 }; in test_huge_stroke() local 38 matrix.setRectToRect(srcR, dstR, SkMatrix::kCenter_ScaleToFit); in test_huge_stroke()
|
/external/skia/tests/ |
D | DrawBitmapRectTest.cpp | 300 SkRect dstR = { 0, 0, SkIntToScalar(16), SkIntToScalar(16) }; in DEF_TEST() local 302 canvas.drawBitmapRect(src, &srcR, dstR, NULL); in DEF_TEST()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 966 int dstR = SkGetPackedR32(dst); in SkBlendLCD16() local 973 SkBlend32(srcR, dstR, maskR), in SkBlendLCD16() 1001 int dstR = SkGetPackedR32(dst); in SkBlendLCD16Opaque() local 1008 SkBlend32(srcR, dstR, maskR), in SkBlendLCD16Opaque()
|
/external/skia/src/utils/ |
D | SkLua.cpp | 529 SkRect srcR, dstR; in lcanvas_drawImageRect() local 534 lua2rect(L, 4, &dstR); in lcanvas_drawImageRect() 537 canvas->drawImageRect(image, srcRPtr, dstR, lua2OptionalPaint(L, 5, &paint)); in lcanvas_drawImageRect() 1358 SkRect srcR, dstR; in lmatrix_setRectToRect() local 1360 lua2rect(L, 3, &dstR); in lmatrix_setRectToRect() 1383 matrix->setRectToRect(srcR, dstR, scaleToFit); in lmatrix_setRectToRect()
|