Lines Matching refs:rRegion
385 Region::Region(const Region& rRegion) in Region() argument
386 : mpB2DPolyPolygon(rRegion.mpB2DPolyPolygon), in Region()
387 mpPolyPolygon(rRegion.mpPolyPolygon), in Region()
388 mpRegionBand(rRegion.mpRegionBand), in Region()
389 mbIsNull(rRegion.mbIsNull) in Region()
867 bool Region::Union( const Region& rRegion ) in Union() argument
869 if(rRegion.IsEmpty()) in Union()
875 if(rRegion.IsNull()) in Union()
885 *this = rRegion; in Union()
895 if( rRegion.HasPolyPolygonOrB2DPolyPolygon() || HasPolyPolygonOrB2DPolyPolygon() ) in Union()
905 *this = rRegion; in Union()
910 basegfx::B2DPolyPolygon aOtherPolyPoly(rRegion.GetAsB2DPolyPolygon()); in Union()
926 *this = rRegion; in Union()
930 const RegionBand* pSource = rRegion.getRegionBand(); in Union()
955 bool Region::Intersect( const Region& rRegion ) in Intersect() argument
958 if(getB2DPolyPolygon() && getB2DPolyPolygon() == rRegion.getB2DPolyPolygon()) in Intersect()
963 if(getPolyPolygon() && getPolyPolygon() == rRegion.getPolyPolygon()) in Intersect()
968 if(getRegionBand() && getRegionBand() == rRegion.getRegionBand()) in Intersect()
973 if(rRegion.IsNull()) in Intersect()
982 *this = rRegion; in Intersect()
986 if(rRegion.IsEmpty()) in Intersect()
999 if( rRegion.HasPolyPolygonOrB2DPolyPolygon() || HasPolyPolygonOrB2DPolyPolygon() ) in Intersect()
1011 basegfx::B2DPolyPolygon aOtherPolyPoly(rRegion.GetAsB2DPolyPolygon()); in Intersect()
1039 const RegionBand* pSource = rRegion.getRegionBand(); in Intersect()
1052 Region aTempRegion = rRegion; in Intersect()
1077 bool Region::Exclude( const Region& rRegion ) in Exclude() argument
1079 if ( rRegion.IsEmpty() ) in Exclude()
1085 if ( rRegion.IsNull() ) in Exclude()
1106 if( rRegion.HasPolyPolygonOrB2DPolyPolygon() || HasPolyPolygonOrB2DPolyPolygon() ) in Exclude()
1120 basegfx::B2DPolyPolygon aOtherPolyPoly(rRegion.GetAsB2DPolyPolygon()); in Exclude()
1137 const RegionBand* pSource = rRegion.getRegionBand(); in Exclude()
1162 bool Region::XOr( const Region& rRegion ) in XOr() argument
1164 if ( rRegion.IsEmpty() ) in XOr()
1170 if ( rRegion.IsNull() ) in XOr()
1181 *this = rRegion; in XOr()
1193 if( rRegion.HasPolyPolygonOrB2DPolyPolygon() || HasPolyPolygonOrB2DPolyPolygon() ) in XOr()
1201 *this = rRegion; in XOr()
1208 basegfx::B2DPolyPolygon aOtherPolyPoly(rRegion.GetAsB2DPolyPolygon()); in XOr()
1222 *this = rRegion; in XOr()
1226 const RegionBand* pSource = rRegion.getRegionBand(); in XOr()
1477 Region& Region::operator=( const Region& rRegion ) in operator =() argument
1480 mpB2DPolyPolygon = rRegion.mpB2DPolyPolygon; in operator =()
1481 mpPolyPolygon = rRegion.mpPolyPolygon; in operator =()
1482 mpRegionBand = rRegion.mpRegionBand; in operator =()
1483 mbIsNull = rRegion.mbIsNull; in operator =()
1498 bool Region::operator==( const Region& rRegion ) const in operator ==()
1500 if(IsNull() && rRegion.IsNull()) in operator ==()
1506 if(IsEmpty() && rRegion.IsEmpty()) in operator ==()
1512 if(getB2DPolyPolygon() && getB2DPolyPolygon() == rRegion.getB2DPolyPolygon()) in operator ==()
1518 if(getPolyPolygon() && getPolyPolygon() == rRegion.getPolyPolygon()) in operator ==()
1524 if(getRegionBand() && getRegionBand() == rRegion.getRegionBand()) in operator ==()
1535 if(rRegion.IsNull() || rRegion.IsEmpty()) in operator ==()
1540 if(rRegion.getB2DPolyPolygon() || getB2DPolyPolygon()) in operator ==()
1545 const_cast< Region& >(rRegion).GetAsB2DPolyPolygon(); in operator ==()
1547 return *rRegion.getB2DPolyPolygon() == *getB2DPolyPolygon(); in operator ==()
1550 if(rRegion.getPolyPolygon() || getPolyPolygon()) in operator ==()
1555 const_cast< Region& >(rRegion).GetAsPolyPolygon(); in operator ==()
1557 return *rRegion.getPolyPolygon() == *getPolyPolygon(); in operator ==()
1563 if(rRegion.getRegionBand() && getRegionBand()) in operator ==()
1565 return *rRegion.getRegionBand() == *getRegionBand(); in operator ==()
1572 SvStream& operator>>(SvStream& rIStrm, Region& rRegion) in operator >>() argument
1579 rRegion.SetEmpty(); in operator >>()
1594 rRegion.SetNull(); in operator >>()
1600 rRegion.SetEmpty(); in operator >>()
1608 rRegion.mpRegionBand.reset(pNewRegionBand); in operator >>()
1620 rRegion.mpPolyPolygon.reset(pNewPoly); in operator >>()
1631 SvStream& operator<<( SvStream& rOStrm, const Region& rRegion ) in operator <<() argument
1642 bool bEmpty(rRegion.IsEmpty()); in operator <<()
1644 if(!bEmpty && rRegion.getB2DPolyPolygon() && 0 == rRegion.getB2DPolyPolygon()->count()) in operator <<()
1650 if(!bEmpty && rRegion.getPolyPolygon() && 0 == rRegion.getPolyPolygon()->Count()) in operator <<()
1660 else if(rRegion.IsNull()) in operator <<()
1664 else if(rRegion.getRegionBand() && rRegion.getRegionBand()->isSingleRectangle()) in operator <<()
1672 const RegionBand* pRegionBand = rRegion.getRegionBand(); in operator <<()
1688 const sal_Bool bHasPolyPolygon(rRegion.HasPolyPolygonOrB2DPolyPolygon()); in operator <<()
1695 rRegion.GetAsPolyPolygon().AdaptiveSubdivide(aNoCurvePolyPolygon); in operator <<()