[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Thu Jul 15 03:17:45 CEST 2004


CVS commit by arwalker: 

This removes additional redraws that would happen every time a plot was printed or exported.
The technique now is to modify all the values of _geom more carefully, so that before and after the print/export operation they are guarenteed to be the same, which gets rid of the need for a redraw.

The only problem encountered was with kst2dPlot::xInternalAlignment() which would reduce the size of the back-buffer every time a repaint is done. During printing this would cause the buffer to shrink in size, and so not all of the plot would be subsequently redrawn following the print. I addressed this by not calling xInternalAlignment() during a print or export operation.


  M +4 -8      kst.cpp   1.186
  M +41 -51    kst2dplot.cpp   1.147
  M +1 -1      kst2dplot.h   1.62
  M +4 -2      kstlabel.cpp   1.33
  M +17 -2     ksttoplevelview.cpp   1.60
  M +2 -0      ksttoplevelview.h   1.35
  M +29 -4     kstviewobject.cpp   1.78
  M +5 -0      kstviewobject.h   1.63
  M +3 -1      kstviewwidget.cpp   1.49
  M +8 -14     kstviewwindow.cpp   1.23






More information about the Kst mailing list