From fa693602868a0e405f1827f1fdb240c22b0fff7d Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 26 Nov 2004 17:35:38 +0000 Subject: 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 --- basegfx/inc/basegfx/range/b3irange.hxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'basegfx') 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); -- cgit