Boost logo

Boost :

From: Anis Benyelloul (benyelloul_at_[hidden])
Date: 2005-06-29 04:01:29

Joel de Guzman <joel <at>> writes:

> Example: I need to XOR a YRegion
> with a MacRegion.

Although actual library implmentation permits mixed implmentation
computations, I really doubt you'll ever need to do that. Do you think that
you may be using Xlib's XRegion and Mac's MacRegion (and Windows' RGN) in the
same program ? Usually you'll just choose one implmentation and stick with it
throughout your project... This still remanis a consistency concern, however.

> The thing is, a classic mac region is an
> opaque data type (actually, it's not implemented as a collection
> of boxes). The mere fact that it is opaque makes it impossible
> to even copy a mac region to a YRegion.

Right ! Let me add that Window's RGN is also an opaque type. Well maybe a
geom::region is useful but I don't think that MacRegion XRegion and RGN are
suitable implmentation of what we define as a ``region''.

-- Anis Benyelloul

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