If you pass to the function negative values it does not blit images properly. Try this:
DrawBlockRect img, 0, -10, 0, -10, 100, 100
I can blit to offscreen, but I can't blit from offimage (because y position is set to 0 and then it's blitted to -10 on screen).
Well, hope you understand :)
PS. I solved the problem doing my own clipping, but it took some time to find out what the heck is wrong with my code.
DrawBlockRect img, 0, -10, 0, -10, 100, 100
I can blit to offscreen, but I can't blit from offimage (because y position is set to 0 and then it's blitted to -10 on screen).
Well, hope you understand :)
PS. I solved the problem doing my own clipping, but it took some time to find out what the heck is wrong with my code.