summaryrefslogtreecommitdiff
path: root/basegfx/test/testtools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/test/testtools.cxx')
-rw-r--r--basegfx/test/testtools.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/basegfx/test/testtools.cxx b/basegfx/test/testtools.cxx
index 3b2ec3051324..1265df264c5b 100644
--- a/basegfx/test/testtools.cxx
+++ b/basegfx/test/testtools.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,7 +54,7 @@ namespace basegfx
// mode, therefore every plot has at least _two_
// functions: one for the x and one for the y value, both
// depending on t.
- mrOutputStream << "#!/usr/bin/gnuplot -persist" << ::std::endl
+ mrOutputStream << "#!/usr/bin/gnuplot -persist" << ::std::endl
<< "#" << ::std::endl
<< "# automatically generated by basegfx::testtools::Plotter, don't change!" << ::std::endl
<< "#" << ::std::endl
@@ -96,7 +96,7 @@ namespace basegfx
public:
PointWriter( ::std::ostream& rOutputStream ) :
mrOutputStream( rOutputStream )
- {
+ {
}
void operator()( const B2DPoint& rPoint ) const
@@ -106,7 +106,7 @@ namespace basegfx
}
private:
- ::std::ostream& mrOutputStream;
+ ::std::ostream& mrOutputStream;
};
}
@@ -114,7 +114,7 @@ namespace basegfx
{
// End the plot line
mrOutputStream << ::std::endl;
-
+
// write stored data points. Cannot write before, since
// this is an inline dataset, which must be after the plot <...>
// line
@@ -127,7 +127,7 @@ namespace basegfx
if( pointCount < 1 )
return;
-
+
if( pointCount == 1 )
{
plot( rPoly.getB2DPoint(0) );
@@ -140,9 +140,9 @@ namespace basegfx
if(rPoly.isNextControlPointUsed(i) || rPoly.isPrevControlPointUsed(i + 1))
{
const B2DCubicBezier aBezierPlot(
- rPoly.getB2DPoint(i), rPoly.getNextControlPoint(i),
+ rPoly.getB2DPoint(i), rPoly.getNextControlPoint(i),
rPoly.getPrevControlPoint(i + 1), rPoly.getB2DPoint(i + 1));
-
+
plot(aBezierPlot);
}
else
@@ -177,19 +177,19 @@ namespace basegfx
// decompose into four lines
plot( B2DPoint(rRect.getMinX(),
- rRect.getMinY()),
+ rRect.getMinY()),
B2DPoint(rRect.getMaxX(),
rRect.getMinY()) );
plot( B2DPoint(rRect.getMaxX(),
- rRect.getMinY()),
+ rRect.getMinY()),
B2DPoint(rRect.getMaxX(),
rRect.getMaxY()) );
plot( B2DPoint(rRect.getMaxX(),
- rRect.getMaxY()),
+ rRect.getMaxY()),
B2DPoint(rRect.getMinX(),
rRect.getMaxY()) );
plot( B2DPoint(rRect.getMinX(),
- rRect.getMaxY()),
+ rRect.getMaxY()),
B2DPoint(rRect.getMinX(),
rRect.getMinY()) );
}
@@ -198,10 +198,10 @@ namespace basegfx
{
writeSeparator();
mrOutputStream << "line(" << rStartPoint.getX()
- << "," << rEndPoint.getX()
+ << "," << rEndPoint.getX()
<< ",t), "
<< "line(" << rStartPoint.getY()
- << "," << rEndPoint.getY()
+ << "," << rEndPoint.getY()
<< ",t)";
}
@@ -209,13 +209,13 @@ namespace basegfx
{
writeSeparator();
mrOutputStream << "cubicBezier(" << rCurve.getStartPoint().getX()
- << "," << rCurve.getControlPointA().getX()
- << "," << rCurve.getControlPointB().getX()
+ << "," << rCurve.getControlPointA().getX()
+ << "," << rCurve.getControlPointB().getX()
<< "," << rCurve.getEndPoint().getX()
<< ",t), "
<< "cubicBezier(" << rCurve.getStartPoint().getY()
- << "," << rCurve.getControlPointA().getY()
- << "," << rCurve.getControlPointB().getY()
+ << "," << rCurve.getControlPointA().getY()
+ << "," << rCurve.getControlPointB().getY()
<< "," << rCurve.getEndPoint().getY()
<< ",t)";
}