How it works...

In this recipe, we enhanced our GUI by using a bitmap as a background. We tiled the bitmap image and, when we resized the GUI window, the bitmap automatically adjusted itself to fill in the entire area of the canvas we were painting on using the device context.

The preceding wxPython code can load different image file formats.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.82.217