KoDpi / KReportDpi

Adam Pigg piggz1 at gmail.com
Wed Jul 29 14:56:44 BST 2015


That sounds fine. Iirc, internal size and position is stored in krsize and krpos variables, but there is a lot of ‎converting to scene positions and user units in the property pane

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Jaroslaw Staniek
Sent: Wednesday, 29 July 2015 14:00
To: Adam Pigg
Cc: kexi-devel at kde.org; Calligra Suite developers and users mailing list; Adam Pigg; Friedrich W. H. Kossebau
Subject: Re: KoDpi / KReportDpi

On 29 July 2015 at 14:11, Adam Pigg <piggz1 at gmail.com> wrote:
> Just a note
>
> The file format stores all sizes/locations in points, ie resolution independent.

Yes, the format is OK.

> All the dpi code is to convert between what the user sees (cm/inch) and screen coords and save
> /load documents.

Yes, my intuition is that the internal structures could use one
resolution independent unit and conversion could be done when (if) needed.
The use KReportDpi / QScreen could be highly reduced then. How does this sound?


-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list