View Single Post
  #1 (permalink)  
Old 05-08-2009, 02:34 PM
corwin42 corwin42 is offline
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Borchen, Germany
Posts: 432
Send a message via ICQ to corwin42
Awards Showcase
Beta Tester 
Total Awards: 1
Default AutoScale Questions

Hi,

I'm a bit confused about the AutoScale compile option. If I compile with AutoScale:

If I use form.Line() to draw on a form will the parameters be fixed automatically or must I multiply them with screenX/screenY?

I have a program that uses the ImageLib.Drawer and the Rectangle object to draw a few graphics. For this I calculate all coordinates relative to form.width and form.height. Are the coordinates for the rectangle object automatically fixed or not? I think they should not get fixed automatically for my program to work correctly.

What is with old libraries with custom controls. I think they won't fix anything automatically. Will they work with AutoScale if I just call them with all position and size parameters multiplied by scaleX and scaleY?

I think I have to try the WM Device Emulator to test my program with VGA. :-(

Greetings,
Markus
Reply With Quote