From koffice-devel Thu Mar 17 15:12:10 2005 From: Inge Wallin Date: Thu, 17 Mar 2005 15:12:10 +0000 To: koffice-devel Subject: Re: Coordinates in KSpread (and maybe other KOffice components). Message-Id: <200503171612.11768.inge () lysator ! liu ! se> X-MARC-Message: https://marc.info/?l=koffice-devel&m=111107236214469 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