Is there a convention for the order of (height, width) in function arguments or when displaying dimensions?
I don't know a huge number of languages, but what I have used go with (width, height). It's more fitting along the lines of (x, y) coordinates.