Getting the size of the image
I call the
get_clip_rect function to determine the size of the bitmap image.
The requirement described earlier
- Makes it difficult to set the size of the window
- Based
solely on the dimensions of the bitmap's clip rectangle
- Because the clip rectangle
can't be obtained until after the image file is loaded.