26 Jan
2014
26 Jan
'14
11:05 p.m.
Sean Farrow wrote On 26-1-2014 22:57:
Hi,
Ok, take a windows RECT structure:
typedefstruct_RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT, *PRECT;
The remarks then state:
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.?
Any help appreciated.
As said it is not implemented like this. Barend