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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user