summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/document.cpp2
-rw-r--r--src/libcola/colafd.cpp2
-rw-r--r--src/libvpsc/linesegment.h10
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp2
-rw-r--r--src/live_effects/lpe-knot.cpp2
5 files changed, 8 insertions, 10 deletions
diff --git a/src/document.cpp b/src/document.cpp
index d9c709626..4c24d0a96 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -513,7 +513,7 @@ SPDocument *SPDocument::createChildDoc(std::string const &uri)
} else {
path = uri;
}
- std::cout << "Added base: '" << path << "'\n";
+ std::cout << "Added base: '" << path << std::endl;
document = createNewDoc(path.c_str(), false, false, this);
}
return document;
diff --git a/src/libcola/colafd.cpp b/src/libcola/colafd.cpp
index 7be18f7d6..748f3354b 100644
--- a/src/libcola/colafd.cpp
+++ b/src/libcola/colafd.cpp
@@ -75,7 +75,7 @@ void dumpSquareMatrix(unsigned n, T** L) {
for(unsigned i=0;i<n;i++) {
printf("{");
for(unsigned j=0;j<n;j++) {
- std::cout<<L[i][j];
+ std::cout<<L[i][j]<<std::endl;;
char c=j==n-1?'}':',';
printf("%c",c);
}
diff --git a/src/libvpsc/linesegment.h b/src/libvpsc/linesegment.h
index caca3a2bb..ecf8800b0 100644
--- a/src/libvpsc/linesegment.h
+++ b/src/libvpsc/linesegment.h
@@ -103,21 +103,21 @@ void DoLineSegmentIntersection(const Vector& p0, const Vector& p1, const Vector&
Vector intersection;
std::cout << "Line Segment 0: (" << p0.x_ << ", " << p0.y_ << ") to (" << p1.x_ << ", " << p1.y_ << ")\n"
- << "Line Segment 1: (" << p2.x_ << ", " << p2.y_ << ") to (" << p3.x_ << ", " << p3.y_ << ")\n";
+ << "Line Segment 1: (" << p2.x_ << ", " << p2.y_ << ") to (" << p3.x_ << ", " << p3.y_ << ")" << std::endl;
switch(linesegment0.Intersect(linesegment1, intersection))
{
case LineSegment::PARALLEL:
- std::cout << "The lines are parallel\n\n";
+ std::cout << "The lines are parallel\n" << std::endl;
break;
case LineSegment::COINCIDENT:
- std::cout << "The lines are coincident\n\n";
+ std::cout << "The lines are coincident\n" << std::endl;
break;
case LineSegment::NOT_INTERSECTING:
- std::cout << "The lines do not intersect\n\n";
+ std::cout << "The lines do not intersect\n" << std::endl;
break;
case LineSegment::INTERSECTING:
- std::cout << "The lines intersect at (" << intersection.x_ << ", " << intersection.y_ << ")\n\n";
+ std::cout << "The lines intersect at (" << intersection.x_ << ", " << intersection.y_ << ")\n" << std::endl;
break;
}
}
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index be5979f31..2b052ace1 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -98,14 +98,12 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem)
Geom::PathVector const pathv = pathv_to_linear_and_cubic_beziers(shape->getCurve()->get_pathvector());
Satellites satellites;
double power = radius;
- std::cout << power << "power\n";
if (!flexible) {
SPDocument * document = SP_ACTIVE_DOCUMENT;
SPNamedView *nv = sp_document_namedview(document, NULL);
Glib::ustring display_unit = nv->display_units->abbr;
power = Inkscape::Util::Quantity::convert(power, unit.get_abbreviation(), display_unit.c_str());
}
- std::cout << power << "power22222222\n";
SatelliteType satellite_type = FILLET;
std::map<std::string, SatelliteType> gchar_map_to_satellite_type =
boost::assign::map_list_of("F", FILLET)("IF", INVERSE_FILLET)("C", CHAMFER)("IC", INVERSE_CHAMFER)("KO", INVALID_SATELLITE);
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index 261612fdb..22c548c1d 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -199,7 +199,7 @@ CrossingPoints::CrossingPoints(Geom::PathVector const &paths) : std::vector<Cros
cp.tj = times[k].second + jj;
push_back(cp);
}else{
- std::cout<<"ooops: find_(self)_intersections returned NaN:";
+ std::cout<<"ooops: find_(self)_intersections returned NaN:" << std::endl;
//std::cout<<"intersection "<<i<<"["<<ii<<"](NaN)= "<<j<<"["<<jj<<"](NaN)\n";
}
}