From: Joel de Guzman (joel_at_[hidden])
Date: 2005-10-05 07:27:05
Vladimir Prus wrote:
> Stefan Seefeld wrote:
>>Device coordinates are not ok to determine object size, because that means
>>that objects have differing sizes on different output devices (multiple
>>screens, printers, etc.) and so users wrongly tweak resolution to get back
>>their wanted object sizes.
> You should never specify object size at all. The size of main window should
> be set the GUI library, or set as proportion of screen size. The child
> windows should be laid out by GUI or resizes as proportion of main windows
> size. So, you don't care what unit is used, since you never specify
> absolute sizes.
I think you are mising each other by miles. Volodya, as much as I want
to and tried to, I can't understand what you are trying to say.
> So, I believe that the ideal coordinate system unit is nothing more that
For vector graphics, that would be float/double (or fixed-point).
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk