PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Can't get past tutorial 2

I'm on the second tutorial. It wants me to draw a line.

The drawline function won't work. It doesn't do anything. Instead of returning S_OK, its returning: INVALID_RECT. What does that mean?
It means that you are supplying incorrect coordinates, trying to draw outside the rectangle that is the surface.