[Kst] [Bug 142699] New symbol type is desirable
Andrew Walker
arwalker at sumusltd.com
Thu Mar 8 21:30:26 CET 2007
------- 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=142699
arwalker sumusltd com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From arwalker sumusltd com 2007-03-08 21:30 -------
SVN commit 640694 by arwalker:
BUG:142699 Add point to symbol type where the point size respects the line width.
M +8 -0 kstcurvepointsymbol.cpp
M +1 -1 kstcurvepointsymbol.h
--- trunk/extragear/graphics/kst/src/libkstmath/kstcurvepointsymbol.cpp #640693:640694
@ -128,6 +128,14 @
p->drawPolygon(pts);
}
break;
+ case 13:
+ if (s < 4) {
+ p->drawPoint(x,y);
+ } else {
+ p->setBrush(QBrush::SolidPattern);
+ p->drawPie(x-(s/4), y-(s/4), s/2, s/2, 0, 5760);
+ }
+ break;
}
p->setBrush(QBrush::NoBrush);
--- trunk/extragear/graphics/kst/src/libkstmath/kstcurvepointsymbol.h #640693:640694
@ -21,7 +21,7 @
#include "kst_export.h"
#include <qpainter.h>
-#define KSTPOINT_MAXTYPE 13
+#define KSTPOINT_MAXTYPE 14
namespace KstCurvePointSymbol {
/** draw the point on a painter the scale of the point is based on size */
More information about the Kst
mailing list