[haiku-appserver] Re: another issue. ClipToPicture.

  • From: Stefano Ceccherini <burton666@xxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: 28 Oct 2004 14:36:28 -0000

                        

>       How are we going to clip drawing instructions (for a >Layer) in case we 
> have a picture attached with 
>BView::ClipToPicture()?


>       Of course, you can always convert this bitmap into a region, but I'm 
> not sure this is a good idea, 

Yeah, that was my idea too. And I think that beos handles it this way 
(especially because they made BView a friend of BRegion, so that it can access 
its private members). I'm not 100% sure, though.

>as this region can become quite big, and it involves a lot of >processing.

Yeah, that's true, it would be quite big, probably. Though it will require lot 
of processing only for creating the region, not for subsequent calls.



Stefano Ceccherini aka Jack Burton
---------------------------------------------------------------
Scegli il tuo dominio preferito e attiva la tua email! Da oggi
l'eMail di superEva e' ancora piu' veloce e ricca di funzioni!
http://webmail.supereva.it/new/
---------------------------------------------------------------


Other related posts: