summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx51
1 files changed, 0 insertions, 51 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 522b0ef8f1c3..be926265c755 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -222,57 +222,6 @@ void Window::InvertTracking( const tools::Rectangle& rRect, ShowTrackFlags nFlag
}
}
-void Window::InvertTracking( const tools::Polygon& rPoly, ShowTrackFlags nFlags )
-{
- sal_uInt16 nPoints = rPoly.GetSize();
-
- if ( nPoints < 2 )
- return;
-
- OutputDevice *pOutDev = GetOutDev();
-
- tools::Polygon aPoly( pOutDev->ImplLogicToDevicePixel( rPoly ) );
-
- SalGraphics* pGraphics;
-
- if ( nFlags & ShowTrackFlags::TrackWindow )
- {
- if ( !IsDeviceOutputNecessary() )
- return;
-
- // we need a graphics
- if ( !mpGraphics )
- {
- if ( !pOutDev->AcquireGraphics() )
- return;
- }
-
- if ( mbInitClipRegion )
- InitClipRegion();
-
- if ( mbOutputClipped )
- return;
-
- pGraphics = mpGraphics;
- }
- else
- {
- pGraphics = ImplGetFrameGraphics();
-
- if ( nFlags & ShowTrackFlags::Clip )
- {
- Point aPoint( mnOutOffX, mnOutOffY );
- vcl::Region aRegion( tools::Rectangle( aPoint,
- Size( mnOutWidth, mnOutHeight ) ) );
- ImplClipBoundaries( aRegion, false, false );
- pOutDev->SelectClipRegion( aRegion, pGraphics );
- }
- }
-
- const SalPoint* pPtAry = reinterpret_cast<const SalPoint*>(aPoly.GetConstPointAry());
- pGraphics->Invert( nPoints, pPtAry, SalInvert::TrackFrame, this );
-}
-
IMPL_LINK( Window, ImplTrackTimerHdl, Timer*, pTimer, void )
{
ImplSVData* pSVData = ImplGetSVData();