( offscreen day 14.05.2001 )

needs plot graphics

0 value curWin
0 value offWin

api: WinCopyRectangle
api: WinGetDrawWindow
api: WinSetDrawWindow
api: WinEraseWindow

: toDispWin
    curWin WinSetDrawWindow drop
;

: toOffWin
    offWin WinSetDrawWindow drop
;

create _rect 0 , 0 ,

: Off>Disp ( x y w h )
    _rect rect!
    offWin curWin
    _rect >abs
    0 0 0
    WinCopyRectangle
;

: initOffScr ( w h )
   CreateOffScreen to offWin
   WinGetDrawWindow to curWin
;