Lines Matching refs:rMapMode
184 static void ImplCalcMapResolution( const MapMode& rMapMode, in ImplCalcMapResolution() argument
187 switch ( rMapMode.GetMapUnit() ) in ImplCalcMapResolution()
273 if ( rMapMode.GetMapUnit() == MAP_REALAPPFONT ) in ImplCalcMapResolution()
287 Fraction aScaleX = rMapMode.GetScaleX(); in ImplCalcMapResolution()
288 Fraction aScaleY = rMapMode.GetScaleY(); in ImplCalcMapResolution()
291 Point aOrigin = rMapMode.GetOrigin(); in ImplCalcMapResolution()
292 if ( rMapMode.GetMapUnit() != MAP_RELATIVE ) in ImplCalcMapResolution()
367 inline void ImplCalcMapResolution( const MapMode& rMapMode, in ImplCalcMapResolution() argument
372 ImplCalcMapResolution( rMapMode, nDPIX, nDPIY, rMapRes ); in ImplCalcMapResolution()
1096 basegfx::B2DHomMatrix OutputDevice::GetViewTransformation( const MapMode& rMapMode ) const in GetViewTransformation()
1101 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in GetViewTransformation()
1121 basegfx::B2DHomMatrix OutputDevice::GetInverseViewTransformation( const MapMode& rMapMode ) const in GetInverseViewTransformation()
1123 basegfx::B2DHomMatrix aMatrix( GetViewTransformation( rMapMode ) ); in GetInverseViewTransformation()
1326 const MapMode& rMapMode ) const in LogicToPixel()
1330 if ( rMapMode.IsDefault() ) in LogicToPixel()
1336 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in LogicToPixel()
1349 const MapMode& rMapMode ) const in LogicToPixel()
1353 if ( rMapMode.IsDefault() ) in LogicToPixel()
1359 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in LogicToPixel()
1372 const MapMode& rMapMode ) const in LogicToPixel()
1376 if ( rMapMode.IsDefault() || rLogicRect.IsEmpty() ) in LogicToPixel()
1382 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in LogicToPixel()
1401 const MapMode& rMapMode ) const in LogicToPixel()
1406 if ( rMapMode.IsDefault() ) in LogicToPixel()
1412 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in LogicToPixel()
1440 const MapMode& rMapMode ) const in LogicToPixel()
1445 if ( rMapMode.IsDefault() ) in LogicToPixel()
1453 rPoly = LogicToPixel( rPoly, rMapMode ); in LogicToPixel()
1461 const MapMode& rMapMode ) const in LogicToPixel()
1464 const ::basegfx::B2DHomMatrix& rTransformationMatrix = GetViewTransformation( rMapMode ); in LogicToPixel()
1472 const MapMode& rMapMode ) const in LogicToPixel()
1475 const ::basegfx::B2DHomMatrix& rTransformationMatrix = GetViewTransformation( rMapMode ); in LogicToPixel()
1482 Region OutputDevice::LogicToPixel( const Region& rLogicRegion, const MapMode& rMapMode ) const in LogicToPixel()
1486 if(rMapMode.IsDefault() || rLogicRegion.IsNull() || rLogicRegion.IsEmpty()) in LogicToPixel()
1495 aRegion = Region(LogicToPixel(*rLogicRegion.getB2DPolyPolygon(), rMapMode)); in LogicToPixel()
1499 aRegion = Region(LogicToPixel(*rLogicRegion.getPolyPolygon(), rMapMode)); in LogicToPixel()
1510 aRegion.Union(LogicToPixel(*aRectIter, rMapMode)); in LogicToPixel()
1721 const MapMode& rMapMode ) const in PixelToLogic()
1726 if ( rMapMode.IsDefault() ) in PixelToLogic()
1732 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in PixelToLogic()
1745 const MapMode& rMapMode ) const in PixelToLogic()
1750 if ( rMapMode.IsDefault() ) in PixelToLogic()
1756 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in PixelToLogic()
1769 const MapMode& rMapMode ) const in PixelToLogic()
1774 if ( rMapMode.IsDefault() || rDeviceRect.IsEmpty() ) in PixelToLogic()
1780 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in PixelToLogic()
1799 const MapMode& rMapMode ) const in PixelToLogic()
1805 if ( rMapMode.IsDefault() ) in PixelToLogic()
1811 ImplCalcMapResolution( rMapMode, mnDPIX, mnDPIY, aMapRes, aThresRes ); in PixelToLogic()
1839 const MapMode& rMapMode ) const in PixelToLogic()
1844 if ( rMapMode.IsDefault() ) in PixelToLogic()
1852 rPoly = PixelToLogic( rPoly, rMapMode ); in PixelToLogic()
1860 const MapMode& rMapMode ) const in PixelToLogic()
1863 const ::basegfx::B2DHomMatrix& rTransformationMatrix = GetInverseViewTransformation( rMapMode ); in PixelToLogic()
1871 const MapMode& rMapMode ) const in PixelToLogic()
1874 const ::basegfx::B2DHomMatrix& rTransformationMatrix = GetInverseViewTransformation( rMapMode ); in PixelToLogic()
1881 Region OutputDevice::PixelToLogic( const Region& rDeviceRegion, const MapMode& rMapMode ) const in PixelToLogic()
1885 if(rMapMode.IsDefault() || rDeviceRegion.IsNull() || rDeviceRegion.IsEmpty()) in PixelToLogic()
1894 aRegion = Region(PixelToLogic(*rDeviceRegion.getB2DPolyPolygon(), rMapMode)); in PixelToLogic()
1898 aRegion = Region(PixelToLogic(*rDeviceRegion.getPolyPolygon(), rMapMode)); in PixelToLogic()
1909 aRegion.Union(PixelToLogic(*aRectIter, rMapMode)); in PixelToLogic()