Skip to main content

All Questions

Filter by
Sorted by
Tagged with
15 votes
16 answers
12k views

What's the idea behind defining rectangles with two points? [closed]

It's not that this doesn't make sense, but it just works out awkward 99% of the time. Often in 2D graphics rectangles are initialized, stored and manipulated as a pair of points. In no particular ...
DarenW's user avatar
  • 4,473