[interfacekit] Re: BRegion

On Fri, 27 Jun 2003 22:18:00 +0200 Massimiliano Origgi <
origgi@xxxxxxxxxxxx> wrote:
> >Hi all.
> >Since there was no BRegion in our repository, and since Marc asked 
> > me to 
> >tackle this class for months ;P, I have done some work, played a bit 
> > with 
> the 
> >debugger (BRegion involves lots of friend methods, which we have to 
> implement 
> >as closely as R5 as possible), and I think that the public methods 
> > are 
> >implemented correctly.
> >What it's still missing are the following friend functions:
> 
> [...]
> >Should I commit the partial work that I have done ?
> >There are also some inline functions which work with clipping_rects, 
> > that 
> >should be put in a private but "accessible" header (private/
> > interface ?), 
> >since I guess they can be interesting even for our app server.
> 
> Mmmh, at first glance they do mix well with the XFree way of managing 
> regions.
> So, as region management is critical and quite complex, a possible 
> solution 
> would be to port the XFree code (don't worry it's all low level), 
> which could 
> be used by both the BRegion class and app_server.
> There aren't even licensing issues here.
> What do you think about it?

I suspect, there shouldn't be any licensing issues -- they use the X11 
license, which is basically equivalent to ours. So, as longs as the 
their copyright header is kept, we might use as much code as we want.

CU, Ingo


Other related posts: