diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 17:34:19 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-11-26 17:34:19 +0000 |
commit | 9ea8dae52dd4de2396cc742d2026cf8faa4bbc08 (patch) | |
tree | 49e9b73ea5ab0517e760bba534583b4c7a8c64e5 /basegfx | |
parent | 5ef9d5c2934a2cecc1ccc0f8ca1f37edf0a7a250 (diff) |
INTEGRATION: CWS presentationengine01 (1.3.2); FILE MERGED
2004/11/20 00:00:35 thb 1.3.2.3: #110496# After-merge cleanups, finished BxD<->BxI conversions for range and tuples
2004/11/17 18:53:35 thb 1.3.2.2: RESYNC: (1.3-1.4); FILE MERGED
2004/09/23 20:19:06 thb 1.3.2.1: #110496# Added intersect method to all range types
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/inc/basegfx/range/b1irange.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/b1irange.hxx b/basegfx/inc/basegfx/range/b1irange.hxx index d68bbd15e3ec..e7478a30545c 100644 --- a/basegfx/inc/basegfx/range/b1irange.hxx +++ b/basegfx/inc/basegfx/range/b1irange.hxx @@ -2,9 +2,9 @@ * * $RCSfile: b1irange.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: pjunck $ $Date: 2004-11-03 08:35:01 $ + * last change: $Author: rt $ $Date: 2004-11-26 18:34:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,6 +83,12 @@ namespace basegfx { } + B1IRange(sal_Int32 nStartValue1, sal_Int32 nStartValue2) + : maRange(nStartValue1) + { + expand(nStartValue2); + } + B1IRange(const B1IRange& rRange) : maRange(rRange.maRange) { @@ -158,6 +164,11 @@ namespace basegfx maRange.expand(rRange.maRange); } + void intersect(const B1IRange& rRange) + { + maRange.intersect(rRange.maRange); + } + void grow(sal_Int32 nValue) { maRange.grow(nValue); |