[GSoC] Cleanup internal drawing units in Calc

Krisztian Pinter pin.terminator at gmail.com
Mon Jun 1 08:17:56 PDT 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150601/5f1da785/attachment.html>


More information about the LibreOffice mailing list