Rect on canvas

BlitzPlus Forums/BlitzPlus Programming/Rect on canvas

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

replace 'Rect' .. with 'Line' .. do you see the issue then?

if no:

Rect mx, my, EventX()-mx, EventY()-my

Rect works with x,y,width,height .. while your routine is done for: x1,y1,x2,y2 .. slightly different ..