Lines Matching refs:margin
46 static bool check_bitmap_margin(const SkBitmap& bm, int margin) {
48 for (int i = 0; i < margin; i++) {
60 int right = bm.width() - margin + i;
71 #define MARGIN 10
81 if (!check_bitmap_margin(bm, MARGIN)) {
203 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2);
204 // this will erase our margin, which we want to always stay 0
208 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes());