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


John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- - Sky's the limit!
-- - Click, Build, Run!

Boost list run by bdawes at, gregod at, cpdaniel at, john at