On Sun, Jan 26, 2014 at 6:05 PM, Barend Gehrels
Sean Farrow wrote On 26-1-2014 22:57:
Ok, take a windows RECT structure: ...
By convention, the right and bottom edges of the rectangle are normally considered exclusive. In other words, the pixel whose coordinates are ( right, bottom ) lies immediately outside of the rectangle. For example, when RECT is passed to the FillRect function, the rectangle is filled up to, but not including, the right column and bottom row of pixels.
How can I gain the same behaviour when doing equals, overlaps etc.?
As said it is not implemented like this.
Does adapting RECT for Geometry involve copying values? Could one write an adapter specific to RECT which would subtract 1 from the original right and bottom?