View.Set ("offscreenonly,nobuttonbar,graphics:640;640,position:300;300")
drawfillbox (0, 0, maxx, maxy, 7)
drawfilloval (100, 100, 100, 100, blue)
drawfillstar (300, 200, 600, 500, red)
drawline (100, 200, 300, 400, 14)
var back : int := Pic.New (0, 0, maxx, maxy)
var hold : int
var x, y, z : int
loop
mousewhere (x,y,z)
View.Update
if z = 1 then
hold := Pic.New (x - 100, y - 100, x + 100, y + 100)
hold:=Pic.Scale (hold,maxx,maxy)
loop
mousewhere (x,y,z)
Pic.Draw (hold, 0, 0, picCopy)
View.Update
exit when z=0
end loop
else
Pic.Draw (back, 0, 0, picCopy)
end if
end loop
|