summaryrefslogtreecommitdiffstats
path: root/src/sp-star.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-14 16:47:47 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-14 16:47:47 +0000
commitfee7ec667cc353e1efda6a1a92f1f4715836fa4f (patch)
tree63fe115530cd3f8511b29cf2e250fcf23dc8fe08 /src/sp-star.cpp
parentupdate credits (diff)
parent"Relative to" option for node alignment. (diff)
downloadinkscape-fee7ec667cc353e1efda6a1a92f1f4715836fa4f.tar.gz
inkscape-fee7ec667cc353e1efda6a1a92f1f4715836fa4f.zip
update to trunk
(bzr r13682.1.32)
Diffstat (limited to '')
-rw-r--r--src/sp-star.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index 51d5e6254..8a1956e3b 100644
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
@@ -32,15 +32,16 @@
#include "sp-star.h"
-SPStar::SPStar() : SPPolygon() {
- this->sides = 5;
- this->center = Geom::Point(0, 0);
+SPStar::SPStar() : SPPolygon() ,
+ sides(5),
+ center(0, 0),
+ flatsided(0),
+ rounded(0.0),
+ randomized(0.0)
+{
this->r[0] = 1.0;
this->r[1] = 0.001;
this->arg[0] = this->arg[1] = 0.0;
- this->flatsided = 0;
- this->rounded = 0.0;
- this->randomized = 0.0;
}
SPStar::~SPStar() {