Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleBitmapRect.cpp72 SkRect fDstR[2]; member in BitmapRectView
96 fDstR[0] = SkRect::MakeXYWH(SkIntToScalar(10), SkIntToScalar(100), in BitmapRectView()
98 fDstR[1] = fDstR[0]; in BitmapRectView()
99 fDstR[1].offset(fDstR[0].width() * 5/4, 0); in BitmapRectView()
134 canvas->drawBitmapRectToRect(bitmap, &srcR, fDstR[i], &paint); in onDrawContent()
135 canvas->drawRect(fDstR[i], paint); in onDrawContent()
184 SkRect fDstR[2]; member in BitmapRectView2
207 fDstR[0] = SkRect::MakeXYWH(20, 20, 600, 200); in BitmapRectView2()
208 fDstR[1] = fDstR[0]; in BitmapRectView2()
209 fDstR[1].offset(0, fDstR[0].height() * 5/4); in BitmapRectView2()
[all …]
/external/skia/bench/
DBitmapRectBench.cpp47 SkRect fSrcR, fDstR; member in BitmapRectBench
77 fDstR.iset(0, 0, kWidth, kHeight); in onPreDraw()
81 fDstR.offset(SK_Scalar1 / 3, SK_Scalar1 * 5 / 7); in onPreDraw()
85 fDstR.fRight += SK_Scalar1 / (kWidth * 60); in onPreDraw()
99 canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR, &paint); in onDraw()