summaryrefslogtreecommitdiff
path: root/include/basegfx/polygon
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-09-22 14:12:07 +0300
committerTor Lillqvist <tml@collabora.com>2017-09-26 14:18:41 +0200
commit8e7897588d7185ef1964e8120669c1de3d1ce734 (patch)
tree8f48598670a5dc22703371943c05789d60b9a07d /include/basegfx/polygon
parent0b4135ec9945ea627318ecf5fccc4b7d0940ff0d (diff)
Rename the basegfx::tools namespace to basegfx::utils
Reduce potential confusion with the global tools namespace. Will hopefully make it possible to remove the annoying initial :: when referring to the global tools namespace. Unless we have even more tools subnamespaces somewhere. Thorsten said it was OK. Change-Id: Id088dfe8f4244cb79df9aa988995b31a1758c996 Reviewed-on: https://gerrit.libreoffice.org/42644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/basegfx/polygon')
-rw-r--r--include/basegfx/polygon/b2dlinegeometry.hxx4
-rw-r--r--include/basegfx/polygon/b2dpolygonclipper.hxx4
-rw-r--r--include/basegfx/polygon/b2dpolygoncutandtouch.hxx4
-rw-r--r--include/basegfx/polygon/b2dpolygontools.hxx4
-rw-r--r--include/basegfx/polygon/b2dpolypolygoncutter.hxx4
-rw-r--r--include/basegfx/polygon/b2dpolypolygontools.hxx4
-rw-r--r--include/basegfx/polygon/b2dtrapezoid.hxx4
-rw-r--r--include/basegfx/polygon/b3dpolygontools.hxx4
-rw-r--r--include/basegfx/polygon/b3dpolypolygontools.hxx4
9 files changed, 18 insertions, 18 deletions
diff --git a/include/basegfx/polygon/b2dlinegeometry.hxx b/include/basegfx/polygon/b2dlinegeometry.hxx
index 60230cc9168c..8a9cef193cd3 100644
--- a/include/basegfx/polygon/b2dlinegeometry.hxx
+++ b/include/basegfx/polygon/b2dlinegeometry.hxx
@@ -30,7 +30,7 @@
namespace basegfx
{
- namespace tools
+ namespace utils
{
/** Create line start/end geometry element, mostly arrows and things like that.
@@ -138,7 +138,7 @@ namespace basegfx
double fMaxPartOfEdge = 0.4,
double fMiterMinimumAngle = (15.0 * F_PI180));
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B2DLINEGEOMETRY_HXX
diff --git a/include/basegfx/polygon/b2dpolygonclipper.hxx b/include/basegfx/polygon/b2dpolygonclipper.hxx
index f50ac9e8f7f6..472cbf387b98 100644
--- a/include/basegfx/polygon/b2dpolygonclipper.hxx
+++ b/include/basegfx/polygon/b2dpolygonclipper.hxx
@@ -30,7 +30,7 @@ namespace basegfx
// predefinitions
class B2DRange;
- namespace tools
+ namespace utils
{
// This method clips the given tools::PolyPolygon against a horizontal or vertical axis (parallel to X or Y axis). The axis is
// defined by bParallelToXAxis (true -> it's parallel to the X-Axis of the coordinate system, else to the Y-Axis) and the
@@ -61,7 +61,7 @@ namespace basegfx
// to be a simple triangle list. the result is also a simple triangle list.
BASEGFX_DLLPUBLIC B2DPolygon clipTriangleListOnRange( const B2DPolygon& rCandidate, const B2DRange& rRange );
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONCLIPPER_HXX
diff --git a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
index 0918e0e1d90d..61a5c5a7a7da 100644
--- a/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
+++ b/include/basegfx/polygon/b2dpolygoncutandtouch.hxx
@@ -27,7 +27,7 @@
namespace basegfx
{
- namespace tools
+ namespace utils
{
// look for self-intersections and self-touches (points on an edge) in given polygon and add
// extra points there. Result will have no touches or intersections on an edge, only on points
@@ -47,7 +47,7 @@ namespace basegfx
// The mask polygon is assumed to be closed, even when it's not explicitly.
BASEGFX_DLLPUBLIC B2DPolygon addPointsAtCuts(const B2DPolygon& rCandidate, const B2DPolyPolygon& rMask);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
diff --git a/include/basegfx/polygon/b2dpolygontools.hxx b/include/basegfx/polygon/b2dpolygontools.hxx
index b96834fc96f6..c20668995d56 100644
--- a/include/basegfx/polygon/b2dpolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolygontools.hxx
@@ -55,7 +55,7 @@ namespace basegfx
class B2DPolygon;
class B2DRange;
- namespace tools
+ namespace utils
{
// B2DPolygon tools
@@ -498,7 +498,7 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC OUString exportToSvgPoints( const B2DPolygon& rPoly );
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYGONTOOLS_HXX
diff --git a/include/basegfx/polygon/b2dpolypolygoncutter.hxx b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
index b8bf5847dcc4..a84dca8e9ee8 100644
--- a/include/basegfx/polygon/b2dpolypolygoncutter.hxx
+++ b/include/basegfx/polygon/b2dpolypolygoncutter.hxx
@@ -26,7 +26,7 @@
namespace basegfx
{
- namespace tools
+ namespace utils
{
/** Solve all crossovers (aka self-intersections) in a polyPolygon.
@@ -141,7 +141,7 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B2DPolyPolygon mergeToSinglePolyPolygon(const B2DPolyPolygonVector& rInput);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index 90ec04530c52..3f34f8e6f7c5 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -37,7 +37,7 @@ namespace basegfx
class B2DPolyPolygon;
class B2DRange;
- namespace tools
+ namespace utils
{
// B2DPolyPolygon tools
@@ -291,7 +291,7 @@ namespace basegfx
const B2DPolyPolygon& rPolyPolygon,
css::drawing::PolyPolygonBezierCoords& rPolyPolygonBezierCoordsRetval);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGONTOOLS_HXX
diff --git a/include/basegfx/polygon/b2dtrapezoid.hxx b/include/basegfx/polygon/b2dtrapezoid.hxx
index d50772874709..a4d8e1d77733 100644
--- a/include/basegfx/polygon/b2dtrapezoid.hxx
+++ b/include/basegfx/polygon/b2dtrapezoid.hxx
@@ -75,7 +75,7 @@ namespace basegfx
namespace basegfx
{
- namespace tools
+ namespace utils
{
// convert SourcePolyPolygon to trapezoids. The trapezoids will be appended to
// ro_Result. ro_Result will not be cleared. If SourcePolyPolygon contains curves,
@@ -104,7 +104,7 @@ namespace basegfx
const B2DPolygon& rPolygon,
double fLineWidth);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
diff --git a/include/basegfx/polygon/b3dpolygontools.hxx b/include/basegfx/polygon/b3dpolygontools.hxx
index fa1442f19def..a38ece65f99c 100644
--- a/include/basegfx/polygon/b3dpolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolygontools.hxx
@@ -34,7 +34,7 @@ namespace basegfx
class B3DPolygon;
class B3DRange;
- namespace tools
+ namespace utils
{
// B3DPolygon tools
@@ -120,7 +120,7 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC B3DPolygon snapPointsOfHorizontalOrVerticalEdges(const B3DPolygon& rCandidate);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYGONTOOLS_HXX
diff --git a/include/basegfx/polygon/b3dpolypolygontools.hxx b/include/basegfx/polygon/b3dpolypolygontools.hxx
index 142058362193..72177230c1e7 100644
--- a/include/basegfx/polygon/b3dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b3dpolypolygontools.hxx
@@ -35,7 +35,7 @@ namespace basegfx
class B3DPolyPolygon;
class B3DRange;
- namespace tools
+ namespace utils
{
// B3DPolyPolygon tools
@@ -133,7 +133,7 @@ namespace basegfx
const B3DPolyPolygon& rPolyPolygonSource,
css::drawing::PolyPolygonShape3D& rPolyPolygonShape3DRetval);
- } // end of namespace tools
+ } // end of namespace utils
} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B3DPOLYPOLYGONTOOLS_HXX