I'd like to add a few things to nsRect: -- operator+ and operator- to translate by an nsPoint -- methods to return the corners of the rect as nsPoints Also, nsRect and nsSize have some bogus operator+ and operator- methods. It doesn't make sense to add two rectangles or two sizes. (Adding two sizes is marginal; subtracting one size from another is really dumb.)
14 years ago
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.