Krzysztof Mossakowski
Windows Programming
2007 - Tasks
Screen capturing & zooming
Demonstration
An application with one window:
Functionality
Display in the window a part of the screen centered in the current position of mouse cursor
Use black colour to display areas outside the screen
Use '+' and '-' characters from keyboard to change the zoom: 1x, 2x, 4x, 8x, and 16x
Try to refresh the content of the window 4 times per second
Features of the window
No caption bar and menu
Resizable
Draggable using any point of the window's client area
No flickering
Acceptable assumptions:
One monitor in the system
The resolution and number of colours in the system are unchanged
Approximate points:
Functionality:
displaying a part of the screen (centered at mouse position, proper after changing the window's size): 5.0
changing the zoom: 2.0
Features:
no caption bar and menu: 0.5
resizable: 0.5
draggable by any client area's point: 1.0
no flickering: 1.0
Links for uploading:
Solutions
Corrections