[Kst] [Bug 118148] View Object Printing Bugs
Andrew Walker
arwalker at sumusltd.com
Wed Dec 14 22:33:22 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=118148
arwalker sumusltd com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From arwalker sumusltd com 2005-12-14 22:33 -------
SVN commit 488538 by arwalker:
BUG:118148 Replace QPainter with KstPainter. Will need this to fix clipping.
M +2 -1 kstbasecurve.h
M +1 -1 kstimage.cpp
M +1 -1 kstvcurve.cpp
--- trunk/extragear/graphics/kst/kst/kstbasecurve.h #488537:488538
@ -22,6 +22,7 @
#include <qvaluestack.h>
#include "kstdataobject.h"
+#include "kstpainter.h"
#include "kst_export.h"
#include "labelparser.h"
@ -31,7 +32,7 @
// context for rendering a curve in a plot
struct KstCurveRenderContext {
- QPainter* p;
+ KstPainter* p;
double Lx, Hx, Ly, Hy;
double m_X, m_Y, b_X, b_Y;
double x_max, y_max, x_min, y_min;
--- trunk/extragear/graphics/kst/kst/kstimage.cpp #488537:488538
@ -529,7 +529,7 @
double m_X = context.m_X, m_Y = context.m_Y, b_X = context.b_X, b_Y = context.b_Y;
double x_max = context.x_max, y_max = context.y_max, x_min = context.x_min, y_min = context.y_min;
bool _xLog = context._xLog, _yLog = context._yLog;
- QPainter* p = context.p;
+ KstPainter* p = context.p;
QColor invalid = context._backgroundColor;
double x, y, width, height;
--- trunk/extragear/graphics/kst/kst/kstvcurve.cpp #488537:488538
@ -827,7 +827,7 @
return;
}
- QPainter *p = context.p;
+ KstPainter *p = context.p;
QColor _foregroundColor = context._foregroundColor;
double Lx = context.Lx, Hx = context.Hx, Ly = context.Ly, Hy = context.Hy;
double m_X = context.m_X, m_Y = context.m_Y;
More information about the Kst
mailing list