[interfacekit] Re: BRegion

>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?
-- 

Massimiliano Origgi
    http://www.intuiware.com    mailto:max@xxxxxxxxxxxxx
        Squeezer 2.2 NOW available! 
                WorkspaceSwitcher 2.2 available!


Other related posts: