[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Coordinates in KSpread (and maybe other KOffice components).
From: Inge Wallin <inge () lysator ! liu ! se>
Date: 2005-03-17 15:12:10
Message-ID: 200503171612.11768.inge () lysator ! liu ! se
[Download RAW message or body]
On Thursday 17 March 2005 15.44, David Faure wrote:
> I'm not 100% sure about what KSpread does, but in other KOffice apps at
> least, KoPoint and KoRect (which are floating point) are for expressing
> coordinates in pt (use KoUnit for converting that to other units like cm,
> mm, inch etc.).
>
> See koffice/lib/kotext/DESIGN for how KoZoomHandler allows to go from pt to
> pixels and back - but most of this does NOT apply to kspread since it
> doesn't use kotext (so, skip everything about kotext's "internal coordinate
> system"). KSpread uses KoZoomHandler though, for pt<->pixels at a given
> zoom level.
Thanks!
This goes a long way.
-Inge
--
Inge Wallin | Thus spake the master programmer: |
| "After three days without programming, |
inge@lysator.liu.se | life becomes meaningless." |
| Geoffrey James: The Tao of Programming. |
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic