I am displaying a TileMap on screen and notice that with different aspect ratios than the logical dimensions that there is a bar at the left hand side of the screen. I can manually offset everything to account for this, but would like to calculate what the coordinates are for the bottom left and bottom right corners of the screen in logical pixels at runtime to do this automatically and know what the margins are and exactly what's happening on the user's screen.
I see we have:
But I'm a bit brain dead at the moment/always so can't see what the relationship is. Could anybody please provide details of how to best deal with this?
Thanks in advance!