Home
last modified time | relevance | path

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

/external/skia/gm/
Ddrawbitmaprect.cpp83 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()
Dbitmaprect.cpp64 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()
Dimage.cpp239 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/
DSkBlitMask_D32.cpp308 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()
DSkDraw.cpp1228 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/
DSampleStrokePath.cpp20 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/
DDrawBitmapRectTest.cpp300 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/
DSkColorPriv.h966 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/
DSkLua.cpp529 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()