summaryrefslogtreecommitdiffstats
path: root/src/libvpsc
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-09-17 16:06:00 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-09-17 16:06:00 +0000
commit327bdefa15f8af59741dcb91a0d434d5b23b1ac8 (patch)
tree4f5f328790980594016aa48ac19aa336e471b173 /src/libvpsc
parentFix bug #1460858 Ruler LPE does not consider drawing scale (page size / viewBox) (diff)
downloadinkscape-327bdefa15f8af59741dcb91a0d434d5b23b1ac8.tar.gz
inkscape-327bdefa15f8af59741dcb91a0d434d5b23b1ac8.zip
Flushing std::cout
Diffstat (limited to 'src/libvpsc')
-rw-r--r--src/libvpsc/linesegment.h10
1 files changed, 5 insertions, 5 deletions
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;
}
}