Why are device-independent bitmaps upside down? - The Old New Thing
https://devblogs.microsoft.com/oldnewthing/20210525-00/?p=105250
> Okay, so why are device-independent bitmaps bottom-up?
>
> For compatibility with OS/2.
> In OS/2 Presentation Manager, the origin of the graphics coordinate space is at the bottom left corner of the screen, with the y-coordinate increasing as you go toward the top of the screen. This is the mathematically correct coordinate system, which removes a lot of confusion when you start doing mathematics with your graphics.
へー、そうだったんだ