Search code examples
delphidelphi-7

Built in function that constructs TSize?


Is there a built-in function in Delphi 7 that returns a TSize from a given cx and cy parameters?

Something similar to the functions Rect() and Point() etc...

I know that writing my own is very simple (although its a shame that Size is already an alias to TSize so I can't name my function Size). but I was wondering if there is a build-in function in the RTL.


Solution

  • There is no such built in function in the Delphi 7 RTL.