BeMDI SDK

  CZOrderedViewManager

CZOrderedViewManager::Z_ReclipFromAbove
Calculates the clipping region for a view.
CZOrderedView *Z_ReclipFromAbove(CZOrderedView *clipView, CZOrderedView *startView, BRegion &clipRegion, BRect *updateRect);


Remarks
This is a special optimized function for Z_ViewPositionChanged. It calculates the clipping region only once for multiple views. It starts decending the z-order at 'startView'. If 'startView' is NULL, the topmost view is used. It calculates the clipping area and stores it in 'clipRegion'. 'clipView' is the view which is clipped. It must be below 'startView' in the z-order. If an 'updateRect' is passed, only views within that rect are processed. All coordinates are in screen coordinates.

The function returns the new 'startView'.

  Top


© 2000 by 3rd-evolution