I'm trying to stretch a sprite to screen bounds uniformly. First I set the origin of the sprite to the centre of the screen. Since it's an Android device, I have several pages to scroll through to reach the end. In my experience, width*2 covers the extra distance.
Next I set the sprite's X and Y relative to the origin:
Now draw it with
To a naked eye, it doesn't look off. Having measured the distance, there is no difference.
Now I apply a scale:
As you can see, after scaling, the sprite no longer appears to be in the centre.
Why? What am I doing wrong? If this is how it's supposed to work, can anyone please recommend a viable workaround to uniformly scale a sprite?