Quote:
Originally Posted by alkis
I still don't get what you are trying to do!
Are you doing all this to avoid clipping? So, that PrintIText doesn't (over)write on window borders?
<snip>
|
Well not just that but it is my current problem
.
I had no idea that you could set up a clip region like this, though it will take me a while to read though and understand the code you've so kindly posted.
Will this also work with SetRast(&rastPort, 0);? I'm hoping to use this to clear the window when someone swaps a disk.
Many thanks once again for such a great reply.
<edit>
Having looked at your code I'm a bit confused about the very last part ....
Code:
if (reg) {
InstallClipRegion(myWindow->WLayer, oldreg);
DisposeRegion(reg);
}
It looks like you are creating a new region just before you close the window? Or have I got the loops wrong? Could you explain this bit please?
Many thanks.