diff options
author | Thorsten Behrens <thb@openoffice.org> | 2004-01-16 09:34:43 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2004-01-16 09:34:43 +0000 |
commit | fb6fefbd9482f6fa26447be417286ae1935c0702 (patch) | |
tree | df3b1b957f17a5f70a83b705865b4c1291b1f382 /basegfx/source/tuple | |
parent | 08761ff6d5991730ed66b7e13817b325ce848da3 (diff) |
#110496# Added integer point, size and rectangle classes, needed for the new canvas
Diffstat (limited to 'basegfx/source/tuple')
-rw-r--r-- | basegfx/source/tuple/b2dtuple.cxx | 12 | ||||
-rw-r--r-- | basegfx/source/tuple/makefile.mk | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/basegfx/source/tuple/b2dtuple.cxx b/basegfx/source/tuple/b2dtuple.cxx index 1565fe3ea0d2..caf527d2d522 100644 --- a/basegfx/source/tuple/b2dtuple.cxx +++ b/basegfx/source/tuple/b2dtuple.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b2dtuple.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: aw $ $Date: 2003-11-28 11:18:13 $ + * last change: $Author: thb $ $Date: 2004-01-16 10:34:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,26 +72,26 @@ namespace basegfx // initialize static member ::basegfx::B2DTuple B2DTuple::maEmptyTuple(0.0, 0.0); - sal_Bool B2DTuple::equalZero() const + bool B2DTuple::equalZero() const { return (this == &maEmptyTuple || (::basegfx::fTools::equalZero(mfX) && ::basegfx::fTools::equalZero(mfY))); } - sal_Bool B2DTuple::equalZero(const double& rfSmallValue) const + bool B2DTuple::equalZero(const double& rfSmallValue) const { return (this == &maEmptyTuple || (::basegfx::fTools::equalZero(mfX, rfSmallValue) && ::basegfx::fTools::equalZero(mfY, rfSmallValue))); } - sal_Bool B2DTuple::equal(const B2DTuple& rTup) const + bool B2DTuple::equal(const B2DTuple& rTup) const { return ( ::basegfx::fTools::equal(mfX, rTup.mfX) && ::basegfx::fTools::equal(mfY, rTup.mfY)); } - sal_Bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const + bool B2DTuple::equal(const B2DTuple& rTup, const double& rfSmallValue) const { return ( ::basegfx::fTools::equal(mfX, rTup.mfX, rfSmallValue) && diff --git a/basegfx/source/tuple/makefile.mk b/basegfx/source/tuple/makefile.mk index 94566b96d598..21e7a2465aad 100644 --- a/basegfx/source/tuple/makefile.mk +++ b/basegfx/source/tuple/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: aw $ $Date: 2003-10-28 11:24:16 $ +# last change: $Author: thb $ $Date: 2004-01-16 10:34:36 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -76,8 +76,12 @@ TARGET=tuple SLOFILES= \ $(SLO)$/b2dtuple.obj \ - $(SLO)$/b3dtuple.obj - + $(SLO)$/b3dtuple.obj \ + $(SLO)$/b2ituple.obj \ + $(SLO)$/b3ituple.obj \ + $(SLO)$/b2i64tuple.obj \ + $(SLO)$/b3i64tuple.obj + # --- Targets ---------------------------------- .INCLUDE : target.mk |