[interfacekit] Re: a "dirty" thing...

"Adi Oanca" <e2joseph@xxxxxxxxxx> wrote:
> 
> Thanks Ingo.
> 
> I didn't understood something in BWindow's UpdateIfNeeded() 
> mechanism, but
> now, all it's OK!
> 
> I asked that question because I thought:
> 
> void AView::Draw(...){
>     StrokeRect(...)
> /*
>     That, in this point, this view, is "dirty"
> */
> ...
> }
> 
> So... if "dirty" views are in app=5Fserver and clipping is done in 
> app=5Fserver,
> why do BViews need to cache their clipping region=3F

Not sure, if that's the only reason, but GetClippingRegion() would be 
quite expensive, if it didn't.

CU, Ingo


Other related posts: