[haiku-appserver] Re: current activity.

  • From: Adi Oanca <adioanca@xxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Mon, 09 Aug 2004 21:39:41 +0300

DarkWyrm wrote:
>>   I'm still in doubt how regions are passed. Haven't looked at code. 
>>DW, can
>>   you enlighten me how big regions are sent to destination? (if this 
>>   possible?)
> Hmmm..... I don't think I ever figured that one out. I'd say that 
> probably the best way would be to attach the number of clipping_rects 
> in the region and then iterate over the rectangles in the BRegion, 
> attaching them as clipping_rect objects via RectAtInt.

        OK OK, that is how it's done in present.
        What I was asking was: how do we send BIG regions across BPortLink?

> While I haven't 
> said until now, I'd imagine that passing BPolygons and BShapes would be 
> done in a similar fashion except that we'll end up having to create a 
> server-side class or something which could take the attached data in 
> the constructor and allow us to work with it. Just in case you were 
> wondering. :)

        :-)) No I wasn't. :-)
        Yes this is similar with regions. And, this is a problem too.
        What happens with a big BShape or BPolygon?

        I think I have an idea about this. What about a protocol in protocol? 
Have to digest this a bit first...


Other related posts: