Make +y UP, Move Origin C# System.Drawing.Graphics

前端 未结 3 1627
礼貌的吻别
礼貌的吻别 2021-01-05 16:10

I want the origin to be at the center of my window.


______________
|     ^      |
|     |      |
|     o----->|
|            |
|____________|

.NET wan

3条回答
  •  灰色年华
    2021-01-05 16:35

    Try creating the graphics object with a negative height. I don't know the C# library specifically, but this trick works in recent versions of GDI.

提交回复
热议问题