diff options
author | Armin Weiss <aw@openoffice.org> | 2003-11-05 11:25:58 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2003-11-05 11:25:58 +0000 |
commit | c3663a687ccc9365b2b4eb4a3950b8d94c2d6ea7 (patch) | |
tree | c47ce5e59d718d5f772121000a356ef523662b17 /basegfx/source/tuple | |
parent | 571971699571e0baf9710ddf076ebf27aebb548d (diff) |
Added PolyPolygonTools, Added PolygonTool functionality, changed bool to sal_Bool
Diffstat (limited to 'basegfx/source/tuple')
-rw-r--r-- | basegfx/source/tuple/b2dtuple.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basegfx/source/tuple/b2dtuple.cxx b/basegfx/source/tuple/b2dtuple.cxx index ded4d23a05cd..367ea17285dd 100644 --- a/basegfx/source/tuple/b2dtuple.cxx +++ b/basegfx/source/tuple/b2dtuple.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dtuple.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2003-10-31 10:14:00 $ + * last change: $Author: aw $ $Date: 2003-11-05 12:25:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,26 +74,26 @@ namespace basegfx // initialize static member B2DTuple B2DTuple::maEmptyTuple(0.0, 0.0); - bool B2DTuple::equalZero() const + sal_Bool B2DTuple::equalZero() const { return (this == &maEmptyTuple || (::basegfx::numeric::fTools::equalZero(mfX) && ::basegfx::numeric::fTools::equalZero(mfY))); } - bool B2DTuple::equalZero(const double& rfSmallValue) const + sal_Bool B2DTuple::equalZero(const double& rfSmallValue) const { return (this == &maEmptyTuple || (::basegfx::numeric::fTools::equalZero(mfX, rfSmallValue) && ::basegfx::numeric::fTools::equalZero(mfY, rfSmallValue))); } - bool B2DTuple::equal(const B2DTuple& rTup) const + sal_Bool B2DTuple::equal(const B2DTuple& rTup) const { return ( ::basegfx::numeric::fTools::equal(mfX, rTup.mfX) && ::basegfx::numeric::fTools::equal(mfY, rTup.mfY)); } - bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const + sal_Bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const { return ( ::basegfx::numeric::fTools::equal(mfX, rTup.mfX, rfSmallValue) && |