[comp.sys.amiga] Clearing a Window

R_MCINTI%UNHH.BITNET@mitvma.mit.edu (09/07/90)

> Clearing a window
SetRast(rp,col_num) will clear the raster and trash your borders
To keep the borders nice and tidy use the function
RefreshWindowFrame(win)

p554mve@mpirbn.mpifr-bonn.mpg.de (Michael van Elst) (09/07/90)

In article <29662@nigel.ee.udel.edu> R_MCINTI%UNHH.BITNET@mitvma.mit.edu writes:
>> Clearing a window
>SetRast(rp,col_num) will clear the raster and trash your borders
>To keep the borders nice and tidy use the function
>RefreshWindowFrame(win)

Or use SetClipRegion to leave the borders intact and avoid flickering when
they are purged and redrawn.

Regards,
-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."