Lines Matching refs:rNewMapMode

855 void OutputDevice::SetMapMode( const MapMode& rNewMapMode )  in SetMapMode()  argument
859 sal_Bool bRelMap = (rNewMapMode.GetMapUnit() == MAP_RELATIVE); in SetMapMode()
863 mpMetaFile->AddAction( new MetaMapModeAction( rNewMapMode ) ); in SetMapMode()
871 if ( maMapMode == rNewMapMode ) in SetMapMode()
875 mpAlphaVDev->SetMapMode( rNewMapMode ); in SetMapMode()
879 mbMap = !rNewMapMode.IsDefault(); in SetMapMode()
883 if ( (rNewMapMode.GetMapUnit() == maMapMode.GetMapUnit()) && in SetMapMode()
884 (rNewMapMode.GetScaleX() == maMapMode.GetScaleX()) && in SetMapMode()
885 (rNewMapMode.GetScaleY() == maMapMode.GetScaleY()) && in SetMapMode()
889 Point aOrigin = rNewMapMode.GetOrigin(); in SetMapMode()
892 maMapMode = rNewMapMode; in SetMapMode()
910 ImplCalcMapResolution( rNewMapMode, mnDPIX, mnDPIY, maMapRes, maThresRes ); in SetMapMode()
919 rNewMapMode.GetScaleX().GetNumerator(), in SetMapMode()
921 rNewMapMode.GetScaleX().GetDenominator() ); in SetMapMode()
923 rNewMapMode.GetScaleY().GetNumerator(), in SetMapMode()
925 rNewMapMode.GetScaleY().GetDenominator() ); in SetMapMode()
931 maMapMode = rNewMapMode; in SetMapMode()
956 void OutputDevice::SetRelativeMapMode( const MapMode& rNewMapMode ) in SetRelativeMapMode() argument
961 if ( maMapMode == rNewMapMode ) in SetRelativeMapMode()
965 MapUnit eNew = rNewMapMode.GetMapUnit(); in SetRelativeMapMode()
968 Fraction aXF = ImplMakeFraction( rNewMapMode.GetScaleX().GetNumerator(), in SetRelativeMapMode()
970 rNewMapMode.GetScaleX().GetDenominator(), in SetRelativeMapMode()
972 Fraction aYF = ImplMakeFraction( rNewMapMode.GetScaleY().GetNumerator(), in SetRelativeMapMode()
974 rNewMapMode.GetScaleY().GetDenominator(), in SetRelativeMapMode()
977 Point aPt( LogicToLogic( Point(), NULL, &rNewMapMode ) ); in SetRelativeMapMode()
1015 maMapMode = rNewMapMode; in SetRelativeMapMode()
1026 mpAlphaVDev->SetRelativeMapMode( rNewMapMode ); in SetRelativeMapMode()