I read 3-way Delphi sources and stick to the line where Rect is initialized using other Rect coordinates, but swapped, for example:
r, rsrc: TRect; ... r := Rect(rsrc.right + 1, rsrc.bottom + 1, rsrc.left, rsrc.top);
rsrc filled with the correct screen coordinates, so (left, top) is always smaller (right, bottom).
What does it mean? I cannot find any mention of the possible purpose of this in the Delphi documentation.
source share