summaryrefslogtreecommitdiff
path: root/basegfx/inc/basegfx/range
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:35:12 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:35:12 +0000
commitd8c77b42c5526edff1a02b25de4441c780b9b95c (patch)
tree78cafbf86137edc29da73e141a5806d6b16dd77a /basegfx/inc/basegfx/range
parent81fffbb36274846bc5c42d77d39dca31c8499bb0 (diff)
INTEGRATION: CWS presentationengine01 (1.5.12); FILE MERGED
2004/11/17 18:53:49 thb 1.5.12.2: RESYNC: (1.5-1.6); FILE MERGED 2004/09/23 20:19:06 thb 1.5.12.1: #110496# Added intersect method to all range types
Diffstat (limited to 'basegfx/inc/basegfx/range')
-rw-r--r--basegfx/inc/basegfx/range/b2irange.hxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/b2irange.hxx b/basegfx/inc/basegfx/range/b2irange.hxx
index 9af6049dc0a2..35792047af88 100644
--- a/basegfx/inc/basegfx/range/b2irange.hxx
+++ b/basegfx/inc/basegfx/range/b2irange.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b2irange.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pjunck $ $Date: 2004-11-03 08:35:32 $
+ * last change: $Author: rt $ $Date: 2004-11-26 18:35:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -251,6 +251,12 @@ namespace basegfx
maRangeY.expand(rRange.maRangeY);
}
+ void intersect(const B2IRange& rRange)
+ {
+ maRangeX.intersect(rRange.maRangeX);
+ maRangeY.intersect(rRange.maRangeY);
+ }
+
void grow(sal_Int32 nValue)
{
maRangeX.grow(nValue);