Home
last modified time | relevance | path

Searched refs:aMtf (Results 1 – 25 of 45) sorted by relevance

12

/trunk/main/filter/source/graphicfilter/ieps/
H A Dieps.cxx139 GDIMetaFile aMtf; in MakeAsMeta() local
151 aMtf.Record( &aVDev ); in MakeAsMeta()
153 aMtf.Stop(); in MakeAsMeta()
154 aMtf.WindStart(); in MakeAsMeta()
155 aMtf.SetPrefMapMode( MAP_100TH_MM ); in MakeAsMeta()
156 aMtf.SetPrefSize( aSize ); in MakeAsMeta()
157 rGraphic = aMtf; in MakeAsMeta()
419 GDIMetaFile aMtf; in MakePreview() local
424 aMtf.Record( &aVDev ); in MakePreview()
498 aMtf.Stop(); in MakePreview()
[all …]
/trunk/main/svx/source/dialog/
H A D_bmpmask.cxx809 GDIMetaFile aMtf; in ImpMask() local
818 aMtf = rMtf; in ImpMask()
836 aMtf.SetPrefSize( rMtf.GetPrefSize() ); in ImpMask()
837 aMtf.SetPrefMapMode( rMtf.GetPrefMapMode() ); in ImpMask()
880 aMtf.AddAction( pAct ); in ImpMask()
896 aMtf.AddAction( pAct ); in ImpMask()
912 aMtf.AddAction( pAct ); in ImpMask()
928 aMtf.AddAction( pAct ); in ImpMask()
944 aMtf.AddAction( pAct ); in ImpMask()
964 aMtf.AddAction( pAct ); in ImpMask()
[all …]
/trunk/main/vcl/source/gdi/
H A Dgdimtf.cxx1021 GDIMetaFile aMtf; in Rotate() local
1051aMtf.AddAction( new MetaPixelAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOffset… in Rotate()
1059aMtf.AddAction( new MetaPointAction( ImplGetRotatedPoint( pAct->GetPoint(), aRotAnchor, aRotOffset… in Rotate()
1066aMtf.AddAction( new MetaLineAction( ImplGetRotatedPoint( pAct->GetStartPoint(), aRotAnchor, aRotOf… in Rotate()
1075aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( pAct->GetRect(), aRotAnchor, aRotOff… in Rotate()
1084aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( aRoundRectPoly, aRotAnchor, aRotOffs… in Rotate()
1093aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( aEllipsePoly, aRotAnchor, aRotOffset… in Rotate()
1102aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( aArcPoly, aRotAnchor, aRotOffset, fS… in Rotate()
1111aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( aPiePoly, aRotAnchor, aRotOffset, fS… in Rotate()
1120aMtf.AddAction( new MetaPolygonAction( ImplGetRotatedPolygon( aChordPoly, aRotAnchor, aRotOffset, … in Rotate()
[all …]
H A Dcvtgrf.cxx100 GDIMetaFile aMtf; in ImplConvert() local
102 aMtf.SetPrefSize( rGraphic.GetPrefSize() ); in ImplConvert()
103 aMtf.SetPrefMapMode( rGraphic.GetPrefMapMode() ); in ImplConvert()
104aMtf.AddAction( new MetaBmpExScaleAction( Point(), aMtf.GetPrefSize(), rGraphic.GetBitmapEx() ) ); in ImplConvert()
105 rGraphic = aMtf; in ImplConvert()
/trunk/main/svx/source/svdraw/
H A Dsvdxcgv.cxx615 GDIMetaFile aMtf; in GetMarkedObjMetaFile() local
633 aMtf = aGraphic.GetGDIMetaFile(); in GetMarkedObjMetaFile()
637 if( !aMtf.GetActionCount() ) in GetMarkedObjMetaFile()
645 aMtf.Clear(); in GetMarkedObjMetaFile()
646 aMtf.Record(&aOut); in GetMarkedObjMetaFile()
650 aMtf.Stop(); in GetMarkedObjMetaFile()
651 aMtf.WindStart(); in GetMarkedObjMetaFile()
658 aMtf.Move(-aBound.Left(), -aBound.Top()); in GetMarkedObjMetaFile()
660 aMtf.SetPrefMapMode( aMap ); in GetMarkedObjMetaFile()
666 aMtf.SetPrefSize(aBoundSize); in GetMarkedObjMetaFile()
[all …]
/trunk/main/svx/source/unodraw/
H A DUnoGraphicExporter.cxx772 GDIMetaFile aMtf; in GetGraphic() local
778 aMtf.Record( &aVDev ); in GetGraphic()
821 aMtf.Stop(); in GetGraphic()
822 aMtf.WindStart(); in GetGraphic()
823 aMtf.SetPrefMapMode( aMap ); in GetGraphic()
824 aMtf.SetPrefSize( aNewSize ); in GetGraphic()
834 aGraphic = Graphic(aMtf); in GetGraphic()
992 GDIMetaFile aMtf; in GetGraphic() local
993 aMtf.Clear(); in GetGraphic()
994 aMtf.Record( &aOut ); in GetGraphic()
[all …]
/trunk/main/sw/source/filter/ww8/
H A Dwrtww8gr.cxx949 GDIMetaFile aMtf; in WriteGraphicNode() local
950 aMtf = aGr.GetGDIMetaFile(); in WriteGraphicNode()
951 aMtf.WindStart(); in WriteGraphicNode()
952 aMtf.Play(Application::GetDefaultDevice(), Point(0, 0), in WriteGraphicNode()
956 WriteWindowMetafileBits(rStrm, aMtf); in WriteGraphicNode()
984 GDIMetaFile aMtf; in WriteGraphicNode()
986 aMtf = pGr->GetGDIMetaFile(); in WriteGraphicNode()
988 Size aS(aMtf.GetPrefSize()); in WriteGraphicNode()
989 aMtf.WindStart(); in WriteGraphicNode()
990 aMtf.Play(Application::GetDefaultDevice(), Point(0, 0), in WriteGraphicNode()
[all …]
/trunk/main/filter/source/pdf/
H A Dpdfexport.cxx217 GDIMetaFile aMtf; in ExportSelection() local
225 aMtf.SetPrefSize( aMtfSize ); in ExportSelection()
226 aMtf.SetPrefMapMode( aMapMode ); in ExportSelection()
227 aMtf.Record( pOut ); in ExportSelection()
239 aMtf.Stop(); in ExportSelection()
240 aMtf.WindStart(); in ExportSelection()
242 if( aMtf.GetActionCount() && in ExportSelection()
244 bRet = ImplExportPage( rPDFWriter, *pPDFExtOutDevData, aMtf ) || bRet; in ExportSelection()
1026 GDIMetaFile aMtf; in ImplExportPage() local
1030 … RemoveTransparenciesFromMetaFile( rMtf, aMtf, mnMaxImageResolution, mnMaxImageResolution, in ImplExportPage()
[all …]
/trunk/main/svtools/source/graphic/
H A Dgrfmgr.cxx974 GDIMetaFile aMtf( aTransGraphic.GetGDIMetaFile() ); in GetTransformedGraphic() local
1005 const MapMode aMtfMapMode( aMtf.GetPrefMapMode() ); in GetTransformedGraphic()
1013 aMtf.AddAction( new MetaISectRectClipRegionAction( aClipRect ), 0 ); in GetTransformedGraphic()
1016aMtf.Scale( (double)rDestSize.Width() / (aSrcSize.Width() - aCropLeftTop.Width() - aCropRightBotto… in GetTransformedGraphic()
1022aMtf.SetPrefSize( Size( (long)((double)rDestSize.Width() * (1.0 + (aCropLeftTop.Width() + aCropRi… in GetTransformedGraphic()
1031 aMtf.SetPrefMapMode( aNewMap ); in GetTransformedGraphic()
1035aMtf.Scale( Fraction( rDestSize.Width(), aSrcSize.Width() ), Fraction( rDestSize.Height(), aSrcSiz… in GetTransformedGraphic()
1036 aMtf.SetPrefMapMode( rDestMap ); in GetTransformedGraphic()
1039 aTransGraphic = aMtf; in GetTransformedGraphic()
1217 GDIMetaFile aMtf( maGraphic.GetGDIMetaFile() ); in GetTransformedGraphic() local
[all …]
H A Dprovider.cxx652 GDIMetaFile aMtf( rGraphic.GetGDIMetaFile() ); in ImplApplyFilterData() local
653 …Size aMtfSize( aDummyVDev.LogicToLogic( aMtf.GetPrefSize(), aMtf.GetPrefMapMode(), MAP_100TH_MM ) … in ImplApplyFilterData()
662 for( sal_uInt32 i = 0, nObjCount = aMtf.GetActionCount(); i < nObjCount; i++ ) in ImplApplyFilterData()
664 MetaAction* pAction = aMtf.GetAction( i ); in ImplApplyFilterData()
717 aMtf.ReplaceAction( pNewAction, i ); in ImplApplyFilterData()
731 rGraphic = aMtf; in ImplApplyFilterData()
/trunk/main/filter/source/flash/
H A Dswfexporter.cxx658 GDIMetaFile aMtf; in exportShape() local
664 getMetaFile( xComponent, aMtf ); in exportShape()
671 getMetaFile( xComponent, aMtf, false, true ); in exportShape()
674 sal_uInt32 checksum = aMtf.GetChecksum(); in exportShape()
682 nID = mpWriter->defineShape( aMtf ); in exportShape()
807 GDIMetaFile aMtf; in ActionSummer() local
808 getMetaFile( xComponentShape, aMtf); in ActionSummer()
810 return aMtf.GetChecksum(); in ActionSummer()
/trunk/main/svtools/source/filter/
H A Dfilter.cxx943 GDIMetaFile aMtf( rGraphic.GetGDIMetaFile() ); in ImpGetScaledGraphic() local
945 …evice::LogicToLogic( Size( nLogicalWidth, nLogicalHeight ), MAP_100TH_MM, aMtf.GetPrefMapMode() ) … in ImpGetScaledGraphic()
949 const Size aPreferredSize( aMtf.GetPrefSize() ); in ImpGetScaledGraphic()
950 aMtf.Scale( Fraction( aNewSize.Width(), aPreferredSize.Width() ), in ImpGetScaledGraphic()
953 aGraphic = Graphic( aMtf ); in ImpGetScaledGraphic()
1655 GDIMetaFile aMtf; in ImportGraphic() local
1656 if( !ConvertWMFToGDIMetaFile( rIStream, aMtf, NULL ) ) in ImportGraphic()
1660 rGraphic = aMtf; in ImportGraphic()
1693 GDIMetaFile aMtf; in ImportGraphic() local
1694 if( !SgfVectFilter( rIStream, aMtf ) ) in ImportGraphic()
[all …]
/trunk/main/drawinglayer/source/primitive2d/
H A Dgraphicprimitivehelper2d.cxx311 GDIMetaFile aMtf; in create2DDecompositionOfGraphic() local
327 aMtf.Clear(); in create2DDecompositionOfGraphic()
328 aMtf.Record(&aOut); in create2DDecompositionOfGraphic()
726 aMtf.Stop(); in create2DDecompositionOfGraphic()
727 aMtf.WindStart(); in create2DDecompositionOfGraphic()
728 aMtf.SetPrefMapMode(MapMode(MAP_100TH_MM)); in create2DDecompositionOfGraphic()
729 aMtf.SetPrefSize(Size(aRectangle.getWidth(), aRectangle.getHeight())); in create2DDecompositionOfGraphic()
734 aMtf); in create2DDecompositionOfGraphic()
/trunk/main/slideshow/source/engine/shapes/
H A Dgdimtftools.cxx153 GDIMetaFile aMtf; in getMtf() local
158 aMtf.AddAction( new MetaBmpExAction( aEmptyPoint, in getMtf()
160 aMtf.SetPrefSize( aBmpEx.GetPrefSize() ); in getMtf()
161 aMtf.SetPrefMapMode( aBmpEx.GetPrefMapMode() ); in getMtf()
163 return aMtf; in getMtf()
/trunk/main/sc/source/ui/app/
H A Dtransobj.cxx359 GDIMetaFile aMtf; in GetData() local
366 aMtf.SetPrefSize( aVisArea.GetSize() ); in GetData()
367 aMtf.SetPrefMapMode( aMapMode ); in GetData()
368 aMtf.Record( &aVDev ); in GetData()
372 aMtf.Stop(); in GetData()
373 aMtf.WindStart(); in GetData()
375 bOK = SetGDIMetaFile( aMtf, rFlavor ); in GetData()
/trunk/main/sfx2/source/doc/
H A Dnew.cxx194 GDIMetaFile aMtf; in Paint() local
199 aMtf.SetPrefSize( aTmpSize ); in Paint()
203 aMtf.Record( &aDevice ); in Paint()
205 aMtf.Stop(); in Paint()
206 aMtf.WindStart(); in Paint()
207 SfxPreviewWin_Impl::ImpPaint( rRect, &aMtf, this ); in Paint()
/trunk/main/svtools/source/misc/
H A Dtransfer.cxx394 GDIMetaFile aMtf; in getTransferData() local
396 *pSrcStm >> aMtf; in getTransferData()
399 Graphic aGraphic( aMtf ); in getTransferData()
424 GDIMetaFile aMtf; in getTransferData() local
426 *pSrcStm >> aMtf; in getTransferData()
432 if ( ConvertGDIMetaFileToWMF( aMtf, aDstStm, NULL, sal_False ) ) in getTransferData()
454 GDIMetaFile aMtf; in getTransferData() local
456 *pSrcStm >> aMtf; in getTransferData()
459 Graphic aGraphic( aMtf ); in getTransferData()
2039 GDIMetaFile aMtf; in GetGraphic() local
[all …]
/trunk/main/cppcanvas/source/mtfrenderer/
H A Dtransparencygroupaction.cxx324 GDIMetaFile aMtf; in render() local
353 aMtf.AddAction( pCurrAct->Clone() ); in render()
396 aMtf.AddAction( pCurrAct->Clone() ); in render()
407 aVDev.DrawTransparent( aMtf, in render()
/trunk/main/filter/source/svg/
H A Dsvgexport.cxx1080 GDIMetaFile aMtf; in implCreateObjectsFromShape() local
1084aMtf.AddAction( new MetaBmpExScaleAction( aNullPt, aSize, aGraphic.GetBitmapEx() ) ); in implCreateObjectsFromShape()
1085 aMtf.SetPrefSize( aSize ); in implCreateObjectsFromShape()
1086 aMtf.SetPrefMapMode( MAP_100TH_MM ); in implCreateObjectsFromShape()
1088 (*mpObjects)[ rxShape ] = ObjectRepresentation( rxShape, aMtf ); in implCreateObjectsFromShape()
1110 GDIMetaFile aMtf; in implCreateObjectsFromBackground() local
1126 aMtf.Read( *aFile.GetStream( STREAM_READ ) ); in implCreateObjectsFromBackground()
1128 (*mpObjects)[ rxMasterPage ] = ObjectRepresentation( rxMasterPage, aMtf ); in implCreateObjectsFromBackground()
/trunk/main/sd/source/ui/view/
H A Dsdview3.cxx155 GDIMetaFile aMtf; in InsertMetaFile() local
157 if( !rDataHelper.GetGDIMetaFile( FORMAT_GDIMETAFILE, aMtf ) ) in InsertMetaFile()
190 MetaAction* pAction = aMtf.FirstAction(); in InsertMetaFile()
262 pAction = aMtf.NextAction(); in InsertMetaFile()
273 aImageSize = bVector ? aMtf.GetPrefSize() : aGraphic.GetSizePixel(); in InsertMetaFile()
277 aGraphic = Graphic( aMtf ); in InsertMetaFile()
279 aGraphic.SetPrefMapMode( aMtf.GetPrefMapMode() ); in InsertMetaFile()
280 aGraphic.SetPrefSize( aMtf.GetPrefSize() ); in InsertMetaFile()
/trunk/main/sd/source/ui/dlg/
H A Dvectdlg.cxx296 Calculate( aBmp, aMtf ); in IMPL_LINK()
297 aMtfWin.SetGraphic( aMtf ); in IMPL_LINK()
308 Calculate( aBmp, aMtf ); in IMPL_LINK()
/trunk/main/vcl/source/window/
H A Dprintdlg.cxx248 GDIMetaFile aMtf( maMtf ); in Paint() local
271 aMtf.WindStart(); in Paint()
272 aMtf.Scale( fScale, fScale ); in Paint()
273 aMtf.WindStart(); in Paint()
284 aMtf.Play( &maPageVDev, Point( 0, 0 ), aLogicSize ); in Paint()
1935 GDIMetaFile aMtf; in preparePreview() local
1940 maPController->getFilteredPageFile( mnCurPage, aMtf, i_bMayUseCache ); in preparePreview()
1944 aMtf.Move( aOff.X(), aOff.Y() ); in preparePreview()
1949 maPreviewWindow.setPreview( aMtf, aCurPageSize, in preparePreview()
1967 GDIMetaFile aMtf; in getJobPageSize() local
[all …]
/trunk/main/vcl/workben/
H A Doutdevgrind.cxx151 GDIMetaFile aMtf; in setupMethodStubs() local
152 aMtf.AddAction( new MetaFillColorAction(Color(COL_RED),sal_True) ); in setupMethodStubs()
153 aMtf.AddAction( new MetaRectAction(aRect) ); in setupMethodStubs()
795 aMtf,aPt1,aRect.GetSize(),aGradient )); in setupMethodStubs()
/trunk/main/sd/source/ui/inc/
H A Dvectdlg.hxx75 GDIMetaFile aMtf; member in SdVectorizeDlg
99 const GDIMetaFile& GetGDIMetaFile() const { return aMtf; } in GetGDIMetaFile()
/trunk/main/sw/source/core/frmedt/
H A Dfecopy.cxx1260 GDIMetaFile aMtf; in GetDrawObjGraphic() local
1261 aMtf.Record( &aVirtDev ); in GetDrawObjGraphic()
1263 aMtf.Stop(); in GetDrawObjGraphic()
1264 aMtf.SetPrefMapMode( aTmp ); in GetDrawObjGraphic()
1265 aMtf.SetPrefSize( aSz ); in GetDrawObjGraphic()
1266 rGrf = aMtf; in GetDrawObjGraphic()

12