is it possible to move the origin on the display from top left to the centre of the display?
Why I want to do this? So that, I can plot points such as:
(-21,-25),(22,-25),(21,25),(-21,25)
As you can see that some of these are negative and hence not visible on the display. Any suggestions?
Use the GDI function SetViewportOrgEx()
. Note that in GDI, the coordinates are not relative to the screen; they're relative to the device context, which typically corresponds to your window's client area.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With