[Lazarus] AV on Lazarus startup

zeljko zeljko at holobit.net
Tue Oct 26 13:49:09 CEST 2010


On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote:
> I'm sure. I'm now at rev 27869, because that didn't give me the AV.
> Updating to 27870 gave me the AV which I mentioned.

Sorry, you're right. Seem that Types.IntersectRect() returns wrong result but, 
independent test says that it's ok ... so I don't understand what's problem.
Imagine this:
ADest := Rect(0, 0, 24, 24);
Src1 := Rect(0, 0, 24, 24);
Src2 := Rect(0, 0, 22, 22);
1.IntersectRect Dest = 0, 0, 24, 24
2.Old (from GraphType) returns Dest = 0,0,22,22
So , now I'm wondering what's up here ...

zeljko




More information about the Lazarus mailing list