3 ms·
I don't think I've ever seen a graphical system of any kind that didn't have 0,0 at the top-left corner of the monitor or viewport either, with positive x going
by Dalewyn 2y ago
I don't think I've ever seen a graphical system of any kind that didn't have 0,0 at the top-left corner of the monitor or viewport either, with positive x going right and positive y going down.
I actually didn't even think about it until now. Now it's going to bug me. God damnit. :V
- moefh 2y agoSomewhat related, bitmap files (.bmp) store the image lines in bottom-to-top order, effectively putting (0,0) at the bottom-left. It's the only image format I've ever seen that does that -- everyone else stores lines in top-to-bottom order, consistent with putting (0,0) at the top-left.
- dayjaby 2y agoWhat do bitmap and excel have in common? :D
- jampekka 2y agoE.g. OpenGL normalized device coordinates have x=0,y=0 at screen center, with top left being x=-1,y=1. It's easier to reason with in many cases.
- bikenaga 2y ago> I don't think I've ever seen a graphical system of any kind that didn't have 0,0 at the top-left corner of the monitor or viewport either, with positive x going right and positive y going down. Is that because the electron beam in cathode ray tubes scanned from top left to bottom right?
- tjalfi 2y agoOS/2's Presentation Manager had 0,0 at the bottom-left corner of the monitor.