#includebitmap_rgb32 bmp(800, 600); bmp.fill(0, 0, bmp.width(), bmp.height(), rgb32_white);
#includeThis example creates a new bitmap with dimensions of 800x600 pixels and fills a rectangular area starting at the coordinates 100,100 with a width and height of 200 pixels with red color. The bitmap_rgb32 fill function is part of the "bitmap" package/library.bitmap_rgb32 bmp(800, 600); bmp.fill(100, 100, 200, 200, rgb32_red);