[Libreoffice-bugs] [Bug 103322] Use floating point for glyph positioning in VCL

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 24 09:47:12 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=103322

--- Comment #12 from Khaled Hosny <khaledhosny at eglug.org> ---
(In reply to Mike Kaganski from comment #11)
> Do we have a (compact) API subset that needs to be changed from int to
> double to start the change?

I’d start with the “Text functions” section in include/vcl/outdev.hxx and go
down and up from there.

We will need to switch from tools::Point, tools::Rectangle etc. to
basegfx::B2DPoint, basegfx::B2DRectangle, not just int to float/double. May be
using basegfx::B2IPoint first since they are still int-based, so the first
round would focus on the difference in semantics and API between tools and
basegfx, then next round would tackle the actual floating pint conversion.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180724/18129bba/attachment.html>


More information about the Libreoffice-bugs mailing list