summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:35:38 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-11-26 17:35:38 +0000
commitfa693602868a0e405f1827f1fdb240c22b0fff7d (patch)
tree558d59207e379d904e0c77b66e6cc607062db6dc /basegfx
parentfcc6874a028ca5eccb2fd804651c6f9fa3d5eb43 (diff)
INTEGRATION: CWS presentationengine01 (1.5.12); FILE MERGED
2004/11/17 18:54:03 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')
-rw-r--r--basegfx/inc/basegfx/range/b3irange.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/basegfx/inc/basegfx/range/b3irange.hxx b/basegfx/inc/basegfx/range/b3irange.hxx
index c6488f18250b..a3f19978f05d 100644
--- a/basegfx/inc/basegfx/range/b3irange.hxx
+++ b/basegfx/inc/basegfx/range/b3irange.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: b3irange.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pjunck $ $Date: 2004-11-03 08:35:57 $
+ * last change: $Author: rt $ $Date: 2004-11-26 18:35:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -287,6 +287,13 @@ namespace basegfx
maRangeZ.expand(rRange.maRangeZ);
}
+ void intersect(const B3IRange& rRange)
+ {
+ maRangeX.intersect(rRange.maRangeX);
+ maRangeY.intersect(rRange.maRangeY);
+ maRangeZ.intersect(rRange.maRangeZ);
+ }
+
void grow(sal_Int32 nValue)
{
maRangeX.grow(nValue);