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