philazzi44 / DnDCS

DnD Client-Server
3 stars 1 forks source link

Rotate on client #8

Closed philazzi44 closed 10 years ago

philazzi44 commented 10 years ago

Add support for rotate 90, 180, 270 to client, so we don't have to fuss with Desktop resolution orientation if the TV orientation is wrong.

philazzi44 commented 10 years ago

Added 270 rotation, rather than mirroring, while I try to figure out how to mirror using the Graphics.TransformMatrix value...

philazzi44 commented 10 years ago

Check out http://bobpowell.net/ReverseAxisText.aspx, it may be useful.

philazzi44 commented 10 years ago

CenterMap on client is broken as a result, because the coordinates aren't flipped in the same way.

philazzi44 commented 10 years ago

Fixed.

philazzi44 commented 10 years ago

Last fix to make is to support Y-axis flipping, rather than 270-degree rotation.

philazzi44 commented 10 years ago

Added this using some Graphics trickery last night.