pixelScale?

Monte Goulding monte at sweattechnologies.com
Fri Sep 28 20:32:47 EDT 2012


Yes, some devices don't include the status bar in the screenRect. My prime doesn't.

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 29/09/2012, at 10:23 AM, Richard Gaskin <ambassador at fourthworld.com> wrote:

> Follow-up on a possible workaround just in case we still don't have a pixelScale function:
> 
> The docs note that we can get the screeRect and workingScreenRect functions, which will tell us the difference between the two which is the height of the Status bar...
> 
> So given that the Status bar is normally of a given size, anyone here found a reason why using that difference can't be used to approximate and understanding of scale?
> 
> --
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> Follow me on Twitter:  http://twitter.com/FourthWorldSys
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list