diff options
Diffstat (limited to 'vcl/source/gdi/regband.cxx')
-rw-r--r-- | vcl/source/gdi/regband.cxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx index c54d22ced48f..4268f9fc72c2 100644 --- a/vcl/source/gdi/regband.cxx +++ b/vcl/source/gdi/regband.cxx @@ -25,8 +25,6 @@ #include "regband.hxx" - - // ImplRegionBand // Each band contains all rectangles between upper and lower border. @@ -41,9 +39,6 @@ // points in a list). After registration of these points they are // converted to rectangles and the points in the list are deleted. - - - ImplRegionBand::ImplRegionBand( long nTop, long nBottom ) { // save boundaries @@ -58,8 +53,6 @@ ImplRegionBand::ImplRegionBand( long nTop, long nBottom ) mbTouched = false; } - - ImplRegionBand::ImplRegionBand( const ImplRegionBand& rRegionBand, const bool bIgnorePoints) @@ -120,8 +113,6 @@ ImplRegionBand::ImplRegionBand( } } - - ImplRegionBand::~ImplRegionBand() { DBG_ASSERT( mpFirstBandPoint == NULL, "ImplRegionBand::~ImplRegionBand -> pointlist not empty" ); @@ -145,8 +136,6 @@ ImplRegionBand::~ImplRegionBand() } } - - // generate separations from lines and process union with existing // separations @@ -198,8 +187,6 @@ void ImplRegionBand::ProcessPoints() mpFirstBandPoint = NULL; } - - // generate separations from lines and process union with existing // separations @@ -311,8 +298,6 @@ bool ImplRegionBand::InsertPoint( long nX, long nLineId, return true; } - - void ImplRegionBand::MoveX( long nHorzMove ) { // move all x-separations @@ -325,8 +310,6 @@ void ImplRegionBand::MoveX( long nHorzMove ) } } - - void ImplRegionBand::ScaleX( double fHorzScale ) { ImplRegionBandSep* pSep = mpFirstSep; @@ -338,8 +321,6 @@ void ImplRegionBand::ScaleX( double fHorzScale ) } } - - // combine overlapping separations bool ImplRegionBand::OptimizeBand() @@ -383,8 +364,6 @@ bool ImplRegionBand::OptimizeBand() return true; } - - void ImplRegionBand::Union( long nXLeft, long nXRight ) { DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Union(): nxLeft > nXRight" ); @@ -457,8 +436,6 @@ void ImplRegionBand::Union( long nXLeft, long nXRight ) OptimizeBand(); } - - void ImplRegionBand::Intersect( long nXLeft, long nXRight ) { DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Intersect(): nxLeft > nXRight" ); @@ -504,8 +481,6 @@ void ImplRegionBand::Intersect( long nXLeft, long nXRight ) OptimizeBand(); } - - void ImplRegionBand::Exclude( long nXLeft, long nXRight ) { DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::Exclude(): nxLeft > nXRight" ); @@ -584,8 +559,6 @@ void ImplRegionBand::Exclude( long nXLeft, long nXRight ) OptimizeBand(); } - - void ImplRegionBand::XOr( long nXLeft, long nXRight ) { DBG_ASSERT( nXLeft <= nXRight, "ImplRegionBand::XOr(): nxLeft > nXRight" ); @@ -623,7 +596,6 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight ) // #9 inside-left == < The new is fully inside the old, coincides on the left intersect Yes - // Then, to correctly perform XOr, the segment that's switched off // (i.e. the overlapping part of the old and the new segment) must // be extended by one pixel value at each border: @@ -635,7 +607,6 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight ) // trailing band sep from 11 to 14. This mimicks the xor look of a // bitmap operation. - // band empty? -> add element if ( !mpFirstSep ) { @@ -831,8 +802,6 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight ) OptimizeBand(); } - - bool ImplRegionBand::IsInside( long nX ) { ImplRegionBandSep* pSep = mpFirstSep; @@ -847,8 +816,6 @@ bool ImplRegionBand::IsInside( long nX ) return false; } - - long ImplRegionBand::GetXLeftBoundary() const { DBG_ASSERT( mpFirstSep != NULL, "ImplRegionBand::XLeftBoundary -> no separation in band!" ); @@ -856,8 +823,6 @@ long ImplRegionBand::GetXLeftBoundary() const return mpFirstSep->mnXLeft; } - - long ImplRegionBand::GetXRightBoundary() const { DBG_ASSERT( mpFirstSep != NULL, "ImplRegionBand::XRightBoundary -> no separation in band!" ); @@ -869,8 +834,6 @@ long ImplRegionBand::GetXRightBoundary() const return pSep->mnXRight; } - - bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const { ImplRegionBandSep* pOwnRectBandSep = mpFirstSep; @@ -902,8 +865,6 @@ bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const return true; } - - ImplRegionBand* ImplRegionBand::SplitBand (const sal_Int32 nY) { OSL_ASSERT(nY>mnYTop); |