Hi, i am trying to simulate a paint style program but in the rectangle drawing tool i get some graphic corruption.
The rectangle tool works like this:
with xo, yo the place you press the mouse, and x, y the current place of the mouse when dragging it.
if (x <= xo && y >= yo) {
borrar(x...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.