xmouse, and ymouse
Posted: Thu Feb 01, 2007 1:28 pm
hey, I was drawing rectangles wtih xmouse and ymouse stuff. somtimes when I do it the rectangle is not drawn at xmouse and ymouse positions and other times it is.... why is that?
EDIT: here is the
EDIT 2: I had changed it from xmouse and ymouse to Rxy.xscreen and Rxy.yscreen
EDIT: here is the
- Code: Select all
if (Pen == 2)
{
moveto(LineStart.xscreen, LineStart.yscreen);
lineto(Rxy.xscreen, LineStart.yscreen);
lineto(Rxy.xscreen, Rxy.yscreen);
lineto(LineStart.xscreen, Rxy.yscreen);
lineto(LineStart.xscreen, LineStart.yscreen);
}
EDIT 2: I had changed it from xmouse and ymouse to Rxy.xscreen and Rxy.yscreen