Home
last modified time | relevance | path

Searched refs:fDstR (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DSampleBitmapRect.cpp70 SkRect fDstR[2]; member in BitmapRectView
94 fDstR[0] = SkRect::MakeXYWH(SkIntToScalar(10), SkIntToScalar(100), in BitmapRectView()
96 fDstR[1] = fDstR[0]; in BitmapRectView()
97 fDstR[1].offset(fDstR[0].width() * 5/4, 0); in BitmapRectView()
132 canvas->drawBitmapRect(bitmap, srcR, fDstR[i], &paint, in onDrawContent()
134 canvas->drawRect(fDstR[i], paint); in onDrawContent()
183 SkRect fDstR[2]; member in BitmapRectView2
206 fDstR[0] = SkRect::MakeXYWH(20, 20, 600, 200); in BitmapRectView2()
207 fDstR[1] = fDstR[0]; in BitmapRectView2()
208 fDstR[1].offset(0, fDstR[0].height() * 5/4); in BitmapRectView2()
[all …]
/external/skia/bench/
DBitmapRectBench.cpp46 SkRect fSrcR, fDstR; member in BitmapRectBench
76 fDstR.iset(0, 0, kWidth, kHeight); in onDelayedSetup()
80 fDstR.offset(SK_Scalar1 / 3, SK_Scalar1 * 5 / 7); in onDelayedSetup()
84 fDstR.fRight += SK_Scalar1 / (kWidth * 60); in onDelayedSetup()
98 canvas->drawBitmapRect(fBitmap, fSrcR, fDstR, &paint, in onDraw()