Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
seanalltogether
· 4y ago · 0 comments
Is this standard coordinate ordering for canvas functions?
ctx.roundRect(upper, left, width, height, borderRadius);
Every graphics framework I've ever worked with uses (x, y, width, height) ordering, not (y, x, width, height)
Comments
[–]
mysteryDate
4y ago
Oh, this is just yet another mistake we didn't catch. It's totally x before y. facepalm