Home
last modified time | relevance | path

Searched refs:rMapMode (Results 1 – 25 of 46) sorted by relevance

12

/trunk/main/vcl/source/gdi/
H A Dmapmod.cxx135 MapMode::MapMode( const MapMode& rMapMode ) in MapMode() argument
138 DBG_CHKOBJ( &rMapMode, MapMode, NULL ); in MapMode()
142 mpImplMapMode = rMapMode.mpImplMapMode; in MapMode()
233 DBG_CHKOBJ( &rMapMode, MapMode, NULL ); in operator =()
238 if ( rMapMode.mpImplMapMode->mnRefCount ) in operator =()
239 rMapMode.mpImplMapMode->mnRefCount++; in operator =()
251 mpImplMapMode = rMapMode.mpImplMapMode; in operator =()
261 DBG_CHKOBJ( &rMapMode, MapMode, NULL ); in operator ==()
298 rMapMode.ImplMakeUnique(); in operator >>()
299 return (rIStm >> *rMapMode.mpImplMapMode); in operator >>()
[all …]
H A Doutmap.cxx187 switch ( rMapMode.GetMapUnit() ) in ImplCalcMapResolution()
287 Fraction aScaleX = rMapMode.GetScaleX(); in ImplCalcMapResolution()
291 Point aOrigin = rMapMode.GetOrigin(); in ImplCalcMapResolution()
1330 if ( rMapMode.IsDefault() ) in LogicToPixel()
1353 if ( rMapMode.IsDefault() ) in LogicToPixel()
1406 if ( rMapMode.IsDefault() ) in LogicToPixel()
1445 if ( rMapMode.IsDefault() ) in LogicToPixel()
1726 if ( rMapMode.IsDefault() ) in PixelToLogic()
1750 if ( rMapMode.IsDefault() ) in PixelToLogic()
1805 if ( rMapMode.IsDefault() ) in PixelToLogic()
[all …]
H A Dcvtsvm.cxx159 void ImplReadMapMode( SvStream& rIStm, MapMode& rMapMode ) in ImplReadMapMode() argument
169rMapMode = MapMode( (MapUnit) nUnit, aOrg, Fraction( nXNum, nXDenom ), Fraction( nYNum, nYDenom ) … in ImplReadMapMode()
174 void ImplWriteMapMode( SvStream& rOStm, const MapMode& rMapMode ) in ImplWriteMapMode() argument
176 rOStm << (sal_Int16) rMapMode.GetMapUnit(); in ImplWriteMapMode()
177 rOStm << rMapMode.GetOrigin(); in ImplWriteMapMode()
178 rOStm << (sal_Int32) rMapMode.GetScaleX().GetNumerator(); in ImplWriteMapMode()
179 rOStm << (sal_Int32) rMapMode.GetScaleX().GetDenominator(); in ImplWriteMapMode()
180 rOStm << (sal_Int32) rMapMode.GetScaleY().GetNumerator(); in ImplWriteMapMode()
181 rOStm << (sal_Int32) rMapMode.GetScaleY().GetDenominator(); in ImplWriteMapMode()
/trunk/main/vcl/inc/vcl/
H A Dmapmod.hxx55 friend SvStream& operator>>( SvStream& rIStm, ImplMapMode& rMapMode );
56 friend SvStream& operator<<( SvStream& rOStm, const ImplMapMode& rMapMode );
79 MapMode( const MapMode& rMapMode );
100 MapMode& operator=( const MapMode& rMapMode );
101 sal_Bool operator==( const MapMode& rMapMode ) const;
102 sal_Bool operator!=( const MapMode& rMapMode ) const in operator !=()
103 { return !(MapMode::operator==( rMapMode )); } in operator !=()
105 sal_Bool IsSameInstance( const MapMode& rMapMode ) const in IsSameInstance()
106 { return (mpImplMapMode == rMapMode.mpImplMapMode); } in IsSameInstance()
108 friend VCL_DLLPUBLIC SvStream& operator>>( SvStream& rIStm, MapMode& rMapMode );
[all …]
H A Doutdev.hxx1023 const MapMode& rMapMode ) const;
1025 const MapMode& rMapMode ) const;
1027 const MapMode& rMapMode ) const;
1029 const MapMode& rMapMode ) const;
1033 const MapMode& rMapMode ) const;
1037 const MapMode& rMapMode ) const;
1047 const MapMode& rMapMode ) const;
1049 const MapMode& rMapMode ) const;
1051 const MapMode& rMapMode ) const;
1053 const MapMode& rMapMode ) const;
[all …]
H A Dbitmap.hxx459 inline void SetPrefMapMode( const MapMode& rMapMode );
938 inline void Bitmap::SetPrefMapMode( const MapMode& rMapMode ) in SetPrefMapMode() argument
940 maPrefMapMode = rMapMode; in SetPrefMapMode()
/trunk/main/sc/source/ui/Accessibility/
H A DAccessibleText.cxx67 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
68 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
124 return pWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
139 return pWindow->PixelToLogic( rPoint, rMapMode ); in PixelToLogic()
226 return mpWindow->LogicToPixel( aPoint, rMapMode ); in LogicToPixel()
242 Point aPoint( mpWindow->PixelToLogic( rPoint, rMapMode ) ); in PixelToLogic()
342 rMapMode ) ); in PixelToLogic()
642 return mpWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
653 return mpWindow->PixelToLogic( rPoint, rMapMode ); in PixelToLogic()
1832 return mpWindow->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
[all …]
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsLayeredDevice.cxx114 void Validate (const MapMode& rMapMode);
338 const MapMode& rMapMode (mpTargetWindow->GetMapMode()); in HandleMapModeChange() local
339 if (maSavedMapMode == rMapMode) in HandleMapModeChange()
344 if (maSavedMapMode.GetScaleX() != rMapMode.GetScaleX() in HandleMapModeChange()
345 || maSavedMapMode.GetScaleY() != rMapMode.GetScaleY() in HandleMapModeChange()
346 || maSavedMapMode.GetMapUnit() != rMapMode.GetMapUnit()) in HandleMapModeChange()
351 else if (maSavedMapMode.GetOrigin() != rMapMode.GetOrigin()) in HandleMapModeChange()
355 const Point aDelta (rMapMode.GetOrigin() - maSavedMapMode.GetOrigin()); in HandleMapModeChange()
394 maSavedMapMode = rMapMode; in HandleMapModeChange()
453 void Layer::Validate (const MapMode& rMapMode) in Validate() argument
[all …]
/trunk/main/svx/source/table/
H A Dcelleditsource.cxx155 Point LogicToPixel( const Point&, const MapMode& rMapMode );
156 Point PixelToLogic( const Point&, const MapMode& rMapMode );
829 Point CellEditSourceImpl::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) in LogicToPixel() argument
842 return pForwarder->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
851 Point aPoint2( OutputDevice::LogicToLogic( aPoint1, rMapMode, in LogicToPixel()
861 Point CellEditSourceImpl::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) in PixelToLogic() argument
874 return pForwarder->PixelToLogic( rPoint, rMapMode ); in PixelToLogic()
883 rMapMode ) ); in PixelToLogic()
1010 Point CellEditSource::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel()
1012 return mpImpl->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
[all …]
/trunk/main/svx/source/unodraw/
H A Dunoshtxt.cxx162 Point LogicToPixel( const Point&, const MapMode& rMapMode );
163 Point PixelToLogic( const Point&, const MapMode& rMapMode );
971 Point SvxTextEditSourceImpl::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) in LogicToPixel() argument
984 return pForwarder->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
993 Point aPoint2( OutputDevice::LogicToLogic( aPoint1, rMapMode, in LogicToPixel()
1003 Point SvxTextEditSourceImpl::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) in PixelToLogic() argument
1016 return pForwarder->PixelToLogic( rPoint, rMapMode ); in PixelToLogic()
1025 rMapMode ) ); in PixelToLogic()
1144 Point SvxTextEditSource::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel()
1146 return mpImpl->LogicToPixel( rPoint, rMapMode ); in LogicToPixel()
[all …]
/trunk/main/editeng/source/uno/
H A Dunoviwed.cxx72 Point SvxEditEngineViewForwarder::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel()
79 Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode, in LogicToPixel()
88 Point SvxEditEngineViewForwarder::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const in PixelToLogic()
99 rMapMode ); in PixelToLogic()
H A Dunoviwou.cxx89 Point SvxDrawOutlinerViewForwarder::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) co… in LogicToPixel()
103 Point aPoint2( OutputDevice::LogicToLogic( aPoint1, rMapMode, in LogicToPixel()
112 Point SvxDrawOutlinerViewForwarder::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) co… in PixelToLogic()
123 rMapMode ) ); in PixelToLogic()
/trunk/main/reportdesign/source/ui/report/
H A DSectionWindow.cxx66 const MapMode& rMapMode = _pParent->GetMapMode(); in DBG_NAME() local
67 SetMapMode( rMapMode ); in DBG_NAME()
80 m_aStartMarker.zoom(rMapMode.GetScaleX()); in DBG_NAME()
81 setZoomFactor(rMapMode.GetScaleX(),m_aReportSection); in DBG_NAME()
82 setZoomFactor(rMapMode.GetScaleX(),m_aSplitter); in DBG_NAME()
83 setZoomFactor(rMapMode.GetScaleX(),m_aEndMarker); in DBG_NAME()
H A DStartMarker.cxx247 const MapMode& rMapMode = GetMapMode(); in Resize() local
248 aImageSize.Width() = long(aImageSize.Width() * (double)rMapMode.GetScaleX()); in Resize()
249 aImageSize.Height() = long(aImageSize.Height() * (double)rMapMode.GetScaleY()); in Resize()
252 aExtraWidth *= rMapMode.GetScaleX(); in Resize()
/trunk/main/sd/source/ui/accessibility/
H A DAccessibleOutlineEditSource.cxx149 …Point AccessibleOutlineEditSource::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) co… in LogicToPixel()
153 Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode, in LogicToPixel()
163 …Point AccessibleOutlineEditSource::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) co… in PixelToLogic()
172 rMapMode ); in PixelToLogic()
/trunk/main/drawinglayer/source/primitive2d/
H A Dmetafileprimitive2d.cxx584 basegfx::B2DHomMatrix getTransformFromMapMode(const MapMode& rMapMode) in getTransformFromMapMode() argument
588 const Point& rOrigin(rMapMode.GetOrigin()); in getTransformFromMapMode()
595 if(rMapMode.GetScaleX() != aNoScale || rMapMode.GetScaleY() != aNoScale) in getTransformFromMapMode()
598 double(rMapMode.GetScaleX()), in getTransformFromMapMode()
599 double(rMapMode.GetScaleY())); in getTransformFromMapMode()
2685 const MapMode& rMapMode = pA->GetMapMode(); in interpretMetafile() local
2688 if(MAP_RELATIVE == rMapMode.GetMapUnit()) in interpretMetafile()
2690 aMapping = getTransformFromMapMode(rMapMode); in interpretMetafile()
2694 switch(rMapMode.GetMapUnit()) in interpretMetafile()
2723 aMapping = getTransformFromMapMode(rMapMode) * aMapping; in interpretMetafile()
[all …]
/trunk/main/sd/source/ui/view/
H A DDocumentRenderer.cxx724 const MapMode& rMapMode, in PrinterPage() argument
732 maMap(rMapMode), in PrinterPage()
780 const MapMode& rMapMode, in RegularPrinterPage() argument
787 : PrinterPage(ePageKind, rMapMode, bPrintMarkedOnly, rsPageString, in RegularPrinterPage()
923 const MapMode& rMapMode, in BookletPrinterPage() argument
928 : PrinterPage(ePageKind, rMapMode, bPrintMarkedOnly, ::rtl::OUString(), in BookletPrinterPage()
999 const MapMode& rMapMode, in HandoutPrinterPage() argument
1005 : PrinterPage(PK_HANDOUT, rMapMode, false, rsPageString, in HandoutPrinterPage()
1144 const MapMode& rMapMode, in OutlinerPrinterPage() argument
1150 : PrinterPage(PK_HANDOUT, rMapMode, false, rsPageString, in OutlinerPrinterPage()
/trunk/main/starmath/source/
H A Daccessibility.cxx946 Point SmViewForwarder::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel()
954 Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode, in LogicToPixel()
963 Point SmViewForwarder::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const in PixelToLogic()
975 rMapMode ); in PixelToLogic()
1605 Point SmEditViewForwarder::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const in LogicToPixel()
1613 Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode, in LogicToPixel()
1622 Point SmEditViewForwarder::PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const in PixelToLogic()
1634 rMapMode ); in PixelToLogic()
H A Daccessibility.hxx194 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
195 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
285 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
286 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
/trunk/main/editeng/source/editeng/
H A Dimpedit.hxx670 inline VirtualDevice* GetVirtualDevice( const MapMode& rMapMode, sal_uLong nDrawMode );
886 void SetRefMapMode( const MapMode& rMapMode );
1074 inline VirtualDevice* ImpEditEngine::GetVirtualDevice( const MapMode& rMapMode, sal_uLong nDrawMode… in GetVirtualDevice() argument
1079 if ( ( pVirtDev->GetMapMode().GetMapUnit() != rMapMode.GetMapUnit() ) || in GetVirtualDevice()
1080 ( pVirtDev->GetMapMode().GetScaleX() != rMapMode.GetScaleX() ) || in GetVirtualDevice()
1081 ( pVirtDev->GetMapMode().GetScaleY() != rMapMode.GetScaleY() ) ) in GetVirtualDevice()
1083 MapMode aMapMode( rMapMode ); in GetVirtualDevice()
/trunk/main/editeng/inc/editeng/
H A Dunoviwed.hxx46 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
47 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
H A Dunoviwou.hxx49 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
50 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
/trunk/main/sd/source/ui/inc/
H A DAccessibleOutlineEditSource.hxx74 virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
75 virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
/trunk/main/sc/source/ui/view/
H A Dprevloc.cxx179 void ScPreviewLocationData::SetCellMapMode( const MapMode& rMapMode ) in SetCellMapMode() argument
181 aCellMapMode = rMapMode; in SetCellMapMode()
270 void ScPreviewLocationData::GetDrawRange( sal_uInt16 nPos, Rectangle& rPixelRect, MapMode& rMapMode in GetDrawRange() argument
276 rMapMode = aDrawMapMode[nPos]; in GetDrawRange()
/trunk/main/svtools/source/filter/wmf/
H A Dwmfwr.cxx1997 sal_uInt16 WMFWriter::CalcSaveTargetMapMode(MapMode& rMapMode, in CalcSaveTargetMapMode() argument
2003 Size aSize = pVirDev->LogicToLogic( rPrefSize, aSrcMapMode, rMapMode ); in CalcSaveTargetMapMode()
2007 Fraction aFrac = rMapMode.GetScaleX(); in CalcSaveTargetMapMode()
2010 rMapMode.SetScaleX(aFrac); in CalcSaveTargetMapMode()
2011 aFrac = rMapMode.GetScaleY(); in CalcSaveTargetMapMode()
2013 rMapMode.SetScaleY(aFrac); in CalcSaveTargetMapMode()
2015 aSize = pVirDev->LogicToLogic( rPrefSize, aSrcMapMode, rMapMode ); in CalcSaveTargetMapMode()

Completed in 191 milliseconds

12