Lines Matching refs:fBM
34 fBM.allocN32Pixels(kImageSize, kImageSize, true); in onOnceBeforeDraw()
36 SkCanvas canvas(fBM); in onOnceBeforeDraw()
58 canvas->drawBitmapRect(fBM, r, &p); in draw()
68 int height = SkScalarFloorToInt(fBM.height() * gScales[i]); in onDraw()
72 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw()
78 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw()
83 int width = SkScalarFloorToInt(fBM.width() * gScales[i]); in onDraw()
87 xOff = fBM.width() + 2*kSpacer; in onDraw()
88 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
91 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw()
92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw()
95 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
104 SkBitmap fBM; member in skiagm::AnisotropicGM