Physical Screen Size
Luis
luis at anachreon.co.uk
Tue Jan 30 11:04:33 EST 2007
Found this under the 'print' entry in the Rev Dictionary:
'The pageRect is the rectangle into which the card is printed, and
consists of four integers separated by commas: the left, top, right, and
bottom edges of the printed card, in points. (There are 72 points to an
inch.) The card is scaled to fit the specified pageRect. If you don't
specify a pageRect, the card's size depends on the printScale property.'
Might help in calibrating the size.
Cheers,
Luis.
Luis wrote:
> Hmmm, ok. What you could then do is open a dialogue box asking for
> dimensions (17 inch, 19 inch, etc), resolution, type (CRT, LCD or
> Plasma) and dpi. If the dpi is unknown by the user you could try to
> default to the most common dpi for that 'type' of monitor.
>
> Cheers,
>
> Luis.
>
>
> Mark Schonewille wrote:
>> Hi Luis,
>>
>> Yup, my main monitor is of the brand "unknown".
>>
>> Mark
>>
>> --
>>
>> Economy-x-Talk
>> Consultancy and Software Engineering
>> http://economy-x-talk.com
>> http://www.salery.biz
>>
>> Get your store on-line within minutes with Salery Web Store software.
>> Download at http://www.salery.biz
>>
>> Op 19-jan-2007, om 17:00 heeft Luis het volgende geschreven:
>>
>>> Hiya,
>>>
>>> If you can determine the monitor type you could probe a database of
>>> configurations/resolution/dpi settings etc and then calculate the
>>> image size (using its coordinates) based on this information.
>>> I haven't looked into this but I reckon OSX and WXP have these in the
>>> system somewhere (so they can 'plug and play').
>>>
>>>
>>> Cheers,
>>>
>>> Luis.
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
More information about the use-livecode
mailing list