From kstars-devel Sun Aug 01 20:08:16 2004 From: Jason Harris Date: Sun, 01 Aug 2004 20:08:16 +0000 To: kstars-devel Subject: [Kstars-devel] kdeedu/kstars/kstars [POSSIBLY UNSAFE] Message-Id: <20040801200816.543209A46 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kstars-devel&m=109139090821731 CVS commit by harris: Fixing scaling and rotation of symbols and images when printing the sky image. There were missing "scale" paameters in some draw functions, which was okay for screen draws because the default value of 1.0 is correct in that case. Not so for printed images. Also added a separate fix to rescale the star pixmaps properly on the printed image. Fixes to SkyMap::findPA() to correctly determine an object's position angle Made SkyMap::pa() virtual so that the overridden versions in KSPlanetBase and DeepSkyObject will be picked up correctly. With these fixes, the Print function works again (these problems were all regressions) Oh, and in case you're wondering how slow it is to bugfix through an SSH tunnel that spans continents, the answer is: very, very slow. :) I was able to work on this because the wind got too strong last night, so we had to close the telescope. CCMAIL: kstars-devel@kde.org M +2 -2 deepskyobject.cpp 1.8 M +4 -4 deepskyobject.h 1.9 M +1 -1 ksplanetbase.h 1.23 M +6 -2 skymap.cpp 1.145 [POSSIBLY UNSAFE: qDebug] M +1 -1 skymap.h 1.66 M +17 -8 skymapdraw.cpp 1.70 [POSSIBLY UNSAFE: qDebug] M +1 -1 skyobject.h 1.44 _______________________________________________ Kstars-devel mailing list Kstars-devel@kde.org https://mail.kde.org/mailman/listinfo/kstars-devel