Searched refs:fDstR (Results 1 – 2 of 2) sorted by relevance
/external/skqp/samplecode/ |
D | SampleBitmapRect.cpp | 71 SkRect fDstR[2]; member in BitmapRectView 95 fDstR[0] = SkRect::MakeXYWH(SkIntToScalar(10), SkIntToScalar(100), in BitmapRectView() 97 fDstR[1] = fDstR[0]; in BitmapRectView() 98 fDstR[1].offset(fDstR[0].width() * 5/4, 0); in BitmapRectView() 133 canvas->drawBitmapRect(bitmap, srcR, fDstR[i], &paint, in onDrawContent() 135 canvas->drawRect(fDstR[i], paint); in onDrawContent() 183 SkRect fDstR[2]; member in BitmapRectView2 217 fDstR[0] = SkRect::MakeXYWH(20, 20, 600, 200); in onOnceBeforeDraw() 218 fDstR[1] = fDstR[0]; in onOnceBeforeDraw() 219 fDstR[1].offset(0, fDstR[0].height() * 5/4); in onOnceBeforeDraw() [all …]
|
/external/skqp/bench/ |
D | BitmapRectBench.cpp | 48 SkRect fSrcR, fDstR; member in BitmapRectBench 78 fDstR.iset(0, 0, kWidth, kHeight); in onDelayedSetup() 82 fDstR.offset(SK_Scalar1 / 3, SK_Scalar1 * 5 / 7); in onDelayedSetup() 86 fDstR.fRight += SK_Scalar1 / (kWidth * 60); in onDelayedSetup() 100 canvas->drawBitmapRect(fBitmap, fSrcR, fDstR, &paint, in onDraw()
|