[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Mon Jul 26 18:48:15 CEST 2004
CVS commit by arwalker:
Ensure an image prints correctly.
M +2 -2 kst2dplot.cpp 1.177
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.176:1.177
@@ -1251,6 +1251,6 @@ void Kst2DPlot::draw(QPainter &p, KstPai
for (int i=0; i< Hx-Lx;i++) {
for (int j=0; j<Hy-Ly; j++) {
- QRgb rgb = _image->getMappedColor(((i + Lx - _b_X) / _m_X),
- ((j + Ly - _b_Y) / _m_Y));
+ QRgb rgb = _image->getMappedColor(((i + Lx - b_X) / m_X),
+ ((j + Ly - b_Y) / m_Y));
tempImage.setPixel(i,j, rgb);
}
More information about the Kst
mailing list