"Gynvael Coldwind" gynvael@vexillium.org writes:
- /* get width and height
*/
- width = GetDeviceCaps(graphics->hdc, HORZRES);
- height = GetDeviceCaps(graphics->hdc, VERTRES);
This won't do what you want. You should probably use something like GetClipBox() here.