Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-10-09 04:52:11


>>
>>Just think of the many places you'll need to deal with geometry
>>(rectangle/point/size), and converting from one type of unit (px to cm,
>>cm to in, etc) to another.
>
>
> I agree. In particular, I'd strongly suggest to draw a clear distinction between
> physical dimension and resolution. Most current GUIs did get that wrong, I believe
> in that they conditioned us all to think of size when talking about number of pixels.
>
True... When I've developed surfaces, I allow the user to specify any of:
px, pt, in, cm, mm

In script, lengths can be specified like
12.3cm, 2.2in, 42px

Best,
John

-- 
John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- http://www.torjo.com/win32gui/surfaces.html - Sky's the limit!
-- http://www.torjo.com/cb/ - Click, Build, Run!

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk