summaryrefslogtreecommitdiffstats
path: root/src/sp-star.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-14 16:37:50 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-14 16:37:50 +0000
commitb8d22beef5345210ad27cdc2685083aeae6f8f3b (patch)
treed69b8bfd19d3627a8425a1b265c2abf229b05354 /src/sp-star.cpp
parentfixes for update to trunk (diff)
parent"Relative to" option for node alignment. (diff)
downloadinkscape-b8d22beef5345210ad27cdc2685083aeae6f8f3b.tar.gz
inkscape-b8d22beef5345210ad27cdc2685083aeae6f8f3b.zip
update to trunk
(bzr r13708.1.39)
Diffstat (limited to 'src/sp-star.cpp')
-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() {