Mike Halliday
11-29-2007, 08:10 PM
Following on from post http://www.arianesoft.ca/e107_plugins/forum/forum_viewtopic.php?8093
Here is the code to do nearly all that Andrew requested.
Heres' what it does.
Take the screen and copy the contents under the stylus location to a new surface but multiply it by 2 before writing.
Write this new surface back to the screen buffer at the current stylus position.
Voila - instant magnification
Please feel free to add to it and make it either a procedure or a class that we can all use.
(Supplying source code because some members don't seem to be able to run my .exe files) :([br]1196367052_671_FT0_automag.zip
Here is the code to do nearly all that Andrew requested.
Heres' what it does.
Take the screen and copy the contents under the stylus location to a new surface but multiply it by 2 before writing.
Write this new surface back to the screen buffer at the current stylus position.
Voila - instant magnification
Please feel free to add to it and make it either a procedure or a class that we can all use.
(Supplying source code because some members don't seem to be able to run my .exe files) :([br]1196367052_671_FT0_automag.zip