[Lazarus] ptInRect question

dmitry boyarintsev skalogryz.lists at gmail.com
Thu Jan 29 23:43:05 CET 2009


> I found this out already, but why, what is the rationale ?

i have only one thought, about the reason for this:

if you follow the Microsoft GDI rules, then you'll get
width := r.Right - r.Left;

otherwise (if r.Right is also filled then drawn), you'll end-up with
additional operation
width := r.Right - r.Left + 1;



More information about the Lazarus mailing list