Lines Matching defs:testBitmap
141 test(Surface& s, uint32 width, uint32 height, BBitmap* testBitmap)
242 BRect testBitmapCrop(testBitmap->Bounds());
250 s.DrawBitmap(testBitmap, testBitmapCrop, testBitmapDestRect);
301 BBitmap* testBitmap = new BBitmap(BRect(20, 0, 150, 50), 0, B_RGB32);
302 // fill testBitmap with content
303 uint8* bits = (uint8*)testBitmap->Bits();
304 uint32 bitmapWidth = testBitmap->Bounds().IntegerWidth() + 1;
305 uint32 bitmapHeight = testBitmap->Bounds().IntegerHeight() + 1;
306 uint32 bpr = testBitmap->BytesPerRow();
319 bits = (uint8*)testBitmap->Bits();
347 // painterNow += test(painter, width, height, testBitmap);
374 // viewNow += test(*view, width, height, testBitmap);