
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Andy Little Sent: Friday, November 05, 2004 8:18 AM To: boost@lists.boost.org Subject: [boost] Re: Re: GUI Library Proposal for a Proposal
FWIW I find the difference between Point and Size largely irrelevent
In MFC:
CPoint (CSize ); CSize(CPoint );
tending to make me think that they could be covered by one type eg xy_pair;
It might be a valid distinction. It's certainly derived from affine geometry's concept of a point as a distinct entity separate from a vector. The distinction can be helpful since it carries some semantic information, e.g. points cannot be added unless they are weighted and all the weights add to 1. If not done properly it ends up being a headache since the semantics are ignored sometimes and pedantic at others. My gut reaction is that the distinction would be of little value in a window GUI, but I honestly haven't analyzed the situation too much. -- Noah