D15111: [KoUnit] Let's show pixel units

Anthony Fieroni noreply at phabricator.kde.org
Fri May 15 05:25:28 BST 2020


anthonyfieroni added inline comments.

INLINE COMMENTS

> KoUnit.h:59-60
>  #define CC_TO_POINT(cc) qreal((cc)*12.840103)
> +#define POINT_TO_PX(cc) qreal((cc)*96.0/72.0)
> +#define PX_TO_POINT(px) qreal((px)*72.0/96.0)
>  /**

@ndavis, DPI is 96, it's not configurable for now.

REPOSITORY
  R8 Calligra

REVISION DETAIL
  https://phabricator.kde.org/D15111

To: anthonyfieroni, boemann, danders, #calligra:_3.0, ndavis, #vdg
Cc: staniek, Calligra-Devel-list, davidllewellynjones, dcaliste, ognarb, cochise, vandenoever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20200515/d7cd90ff/attachment.htm>


More information about the calligra-devel mailing list