Waverly:
Nice demo. It appears that you want the rectangle to rotate 2 degrees at a
time until it has made one revolution ( ie, 180 x 2 = 360)
for angle = 0 to 180 // angle in degrees
fn rotateOnCenter( ctx, cgR, 2 )// already been scaled, dont scale again
fn CGContextStrokeRect( ctx, cgR )// display destination rect
fn CGContextFlush( ctx )// force drawing display
delay _secTenth// give a delay so you can see changes
fn cgEraseRect( ctx , cgR , clr )
next
Steve Van Voorst
--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...