TRectF.Scale and TRectF.ScaleCentered missing?
TRectF.Scale and TRectF.ScaleCentered missing?
I find myself often rescaling TRectF. It's easily done, but I'm surprised that there are no functions for this in TRectF. Did I miss something?
I find myself often rescaling TRectF. It's easily done, but I'm surprised that there are no functions for this in TRectF. Did I miss something?
I never noticed those were missing before, but you're right. I can't see them in Berlin. Add a QP?
ReplyDeleteWell.. I didn't mean that I have seen them in prior versions. I just found it odd that there are no such functions. Have you seen them before Berlin?
ReplyDeleteIs it ok to QP this kind of thing, or would I just bloat QP with minor details that will never be fixed? I have my own functions for this, but I suspect a new Delphi user would be better off with a more complete set of functions.
I don't recall seeing them before Berlin. Looking in my code, I have similar methods, but I had thought I had them because the code has to support old versions as well as new, ie they're compatibility methods. I guess I wrote them because they're not there!
ReplyDeleteI'm not an Embarcadero employee, but my personal opinion is that it's fine to add something like this to QP. It's a feature request, and a perfectly valid one - also quite an easy one to implement. Sounds great.