Hi Mark

Very nice to see your additions.

One comment on the DPI

If you want a ruler that match your printer you should use 72.
Also if you fx want to calculate a perimeter or area of a square you should use 
72.

At least on a Mac

To have the ruler appear "lifelike" I use 72/2.54 * 1.52 on an iMac 27

I have experimentet in a drawing app and found 152% to be lifelike on the screen
So in my case at 152% I see exactly what comes out of the printer.

Michael


Den 03/11/2011 kl. 18.00 skrev use-livecode-requ...@lists.runrev.com:

> 
> Hi Michael,
> 
> I added to your very cool script a slight bit to make the cm ruler true on 
> any monitor.  Users will have to adjust the three variables at the top to 
> represent their monitors accurately.
> 
> on mouseUp
>      put 1920 into tMonitorWidth
>      put 1200 into tMonitorHeight
>      put 24 into tMonitorDiag
> 
>      put sqrt((tMonitorWidth * tMonitorWidth) + (tMonitorHeight * 
> tMonitorHeight)) into tDiagRes
>      put round(tDiagRes/tMonitorDiag,3) into tDPI
>      put tDPI /2.54 into Q


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to