2 ms·
Heh. I remember when Actionscript deprecated drawCircle(origin,radius) for drawEllipse(origin,w,h) ...and yet, rectangles always still had an origin in the uppe
by noduerme 5y ago
Heh. I remember when Actionscript deprecated drawCircle(origin,radius) for drawEllipse(origin,w,h) ...and yet, rectangles always still had an origin in the upper-left. I guess it depends on whether you're trying to write your own drawing API or if you just want to get things done.
If you do want to get things done then this question is more like the bikeshedding as old as time. Put fingers to keys and write R(w,h)=>{someshit}