Hi all!
Last week I started work on ScOutputData, I changed DrawDocumentBackground
and DrawGrid to draw in logic units.
https://gerrit.libreoffice.org/#/c/15984/
https://gerrit.libreoffice.org/#/c/16008/
I still use PixelToLogic conversions, but I think in the first stage of the
work I will rewrite code so it doesn't use SetMapMode(MAP_PIXEL), and in
the second stage I will change the private members of ScOutputData to be in
logic units as well, at which point the Draw* functions can be changed not
to convert between Pixels and Logic units.
All the best,
Krisztian
Context
- [GSoC] Cleanup internal drawing units in Calc · Krisztian Pinter
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.