Well, for each window, they can easily get the clipping region of their own, and then they can redraw the region.

However, i'm wondering how Windows know the clipping region of each one (process)? There must be some centralized mechanism in the system that do the calculation. However, it seems it's behinded the documentation?

Is there any guru here that know how Windows do the clipping region calcuation (in the background)?

Thanks.