Checks http://developer.xojo.com/2016r41-release-notes what that a stealth update Norman?
been documented to return a double for many many years (since 2007 or so)
And the notes say " Currently, only Mac OS X supports fractional widths. In the future, fractional widths may be supported on other platforms."
With the move to Direct2D it still returns a double and that double has fractional portions as well
Just tried it in a one liner desktop app
Create a new DesktopApp
In Window1.Paint just put
dim d as double = g.StringWidth("foobar") break
and check the value
- Windows HiDPI support is finalized.
- Windows Graphics subsystem now uses Direct2D and DirectWrite for improved drawing speed and modern graphics support.