It was a design goal to keep TFloatPoint independent of the actual representation (being Single or Double). Thus a synonym would interfere with this flexibility.
Eventually we can add helper functions or operator overloading to support easy conversion between these two types - where available.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It was a design goal to keep TFloatPoint independent of the actual representation (being Single or Double). Thus a synonym would interfere with this flexibility.
Eventually we can add helper functions or operator overloading to support easy conversion between these two types - where available.
Do as you wish. But please do.
Color Curves Example demonstrating the new implicit TPointF -> TFloatPoint conversion
Added implicit and explicit class operators for TPointF -> TFloatPoint conversion