/aoo4110/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 498 ImplConvertFromSVM1( rStm, rMtf ); in SVMConverter() 500 ImplConvertToSVM1( rStm, rMtf ); in SVMConverter() 559 rMtf.SetPrefSize( aPrefSz ); in ImplConvertFromSVM1() 560 rMtf.SetPrefMapMode( aMapMode ); in ImplConvertFromSVM1() 649 rMtf.ReplaceAction( in ImplConvertFromSVM1() 667 rMtf.ReplaceAction( in ImplConvertFromSVM1() 683 rMtf.ReplaceAction( in ImplConvertFromSVM1() 724 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1() 744 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1() 779 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1() [all …]
|
H A D | gdimtf.cxx | 207 List ( rMtf ), in GDIMetaFile() 221 if( rMtf.pLabelList ) in GDIMetaFile() 226 if( rMtf.bRecord ) in GDIMetaFile() 230 if ( rMtf.bPause ) in GDIMetaFile() 246 if( this != &rMtf ) in operator =() 264 pPrev = rMtf.pPrev; in operator =() 265 pNext = rMtf.pNext; in operator =() 270 if( rMtf.bRecord ) in operator =() 274 if( rMtf.bPause ) in operator =() 289 if( this == &rMtf ) in operator ==() [all …]
|
H A D | outdev6.cxx | 651 ( (GDIMetaFile&) rMtf ).WindStart(); in DrawTransparent() 652 ( (GDIMetaFile&) rMtf ).Play( this, rPos, rSize ); in DrawTransparent() 653 ( (GDIMetaFile&) rMtf ).WindStart(); in DrawTransparent() 713 ((GDIMetaFile&)rMtf).WindStart(); in DrawTransparent() 714 ((GDIMetaFile&)rMtf).Play(pVDev, rPos, rSize); in DrawTransparent() 715 ((GDIMetaFile&)rMtf).WindStart(); in DrawTransparent() 746 ( (GDIMetaFile&) rMtf ).WindStart(); in DrawTransparent() 747 ( (GDIMetaFile&) rMtf ).Play( pVDev, rPos, rSize ); in DrawTransparent() 748 ( (GDIMetaFile&) rMtf ).WindStart(); in DrawTransparent() 759 ( (GDIMetaFile&) rMtf ).WindStart(); in DrawTransparent() [all …]
|
H A D | impvect.cxx | 738 sal_Bool ImplVectorizer::ImplVectorize( const Bitmap& rColorBmp, GDIMetaFile& rMtf, in ImplVectorize() argument 760 rMtf.Clear(); in ImplVectorize() 808 rMtf.AddAction( new MetaLineColorAction( aFindColor, sal_True ) ); in ImplVectorize() 809 rMtf.AddAction( new MetaFillColorAction( aFindColor, sal_True ) ); in ImplVectorize() 810 rMtf.AddAction( new MetaPolyPolygonAction( aPolyPoly ) ); in ImplVectorize() 820 if( rMtf.GetActionCount() ) in ImplVectorize() 826 rMtf.SetPrefMapMode( aMap ); in ImplVectorize() 827 rMtf.SetPrefSize( Size( nWidth + 2, nHeight + 2 ) ); in ImplVectorize() 828 rMtf.Move( 1, 1 ); in ImplVectorize() 829 rMtf.Scale( aLogSize1.Width(), aLogSize1.Height() ); in ImplVectorize()
|
/aoo4110/main/slideshow/source/engine/shapes/ |
H A D | viewshape.cxx | 76 ENSURE_OR_RETURN_FALSE( rMtf, in prefetch() 79 if( rMtf != io_rCacheEntry.mpMtf || in prefetch() 173 io_rCacheEntry.mpMtf = rMtf; in prefetch() 191 const GDIMetaFileSharedPtr& rMtf, in draw() argument 200 getRenderer( rDestinationCanvas, rMtf, rAttr ) ); in draw() 517 rMtf, in renderSprite() 686 rMtf, in render() 730 rMtf, in render() 809 rMtf, in getRenderer() 873 rMtf, in update() [all …]
|
H A D | gdimtftools.cxx | 79 bool hasUnsupportedActions( const GDIMetaFile& rMtf ) in hasUnsupportedActions() argument 85 for( pCurrAct = const_cast<GDIMetaFile&>(rMtf).FirstAction(); in hasUnsupportedActions() 87 pCurrAct = const_cast<GDIMetaFile&>(rMtf).NextAction() ) in hasUnsupportedActions() 181 GDIMetaFile& rMtf, in getMetaFile() argument 259 void removeTextActions( GDIMetaFile& rMtf ) in removeTextActions() argument 265 pCurrAct = rMtf.FirstAction(); in removeTextActions() 283 pCurrAct = rMtf.NextAction(); in removeTextActions() 285 rMtf.RemoveAction( nActionIndex ); in removeTextActions() 290 pCurrAct = rMtf.NextAction(); in removeTextActions() 510 for ( MetaAction * pCurrAct = rMtf->FirstAction(); in getRectanglesFromScrollMtf() [all …]
|
H A D | viewbackgroundshape.cxx | 64 const GDIMetaFileSharedPtr& rMtf ) const in prefetch() 67 ENSURE_OR_RETURN_FALSE( rMtf, in prefetch() 74 rMtf != mpLastMtf || in prefetch() 124 *rMtf.get(), in prefetch() 136 mpLastMtf = rMtf; in prefetch() 159 bool ViewBackgroundShape::render( const GDIMetaFileSharedPtr& rMtf ) const in render() 165 if( !prefetch( rDestinationCanvas, rMtf ) ) in render()
|
H A D | viewshape.hxx | 196 bool update( const GDIMetaFileSharedPtr& rMtf, 210 const GDIMetaFileSharedPtr& rMtf, 245 const GDIMetaFileSharedPtr& rMtf, 254 const GDIMetaFileSharedPtr& rMtf, 263 const GDIMetaFileSharedPtr& rMtf, 276 const GDIMetaFileSharedPtr& rMtf,
|
H A D | drawshapesubsetting.cxx | 243 DrawShapeSubsetting::DrawShapeSubsetting( const GDIMetaFileSharedPtr& rMtf ) : in DrawShapeSubsetting() argument 245 mpMtf( rMtf ), in DrawShapeSubsetting() 260 const GDIMetaFileSharedPtr& rMtf ) : in DrawShapeSubsetting() argument 262 mpMtf( rMtf ), in DrawShapeSubsetting() 288 void DrawShapeSubsetting::reset( const ::boost::shared_ptr< GDIMetaFile >& rMtf ) in reset() argument 291 mpMtf = rMtf; in reset() 297 const ::boost::shared_ptr< GDIMetaFile >& rMtf ) in reset() 300 mpMtf = rMtf; in reset()
|
H A D | drawshapesubsetting.hxx | 67 explicit DrawShapeSubsetting( const ::boost::shared_ptr< GDIMetaFile >& rMtf ); 80 const ::boost::shared_ptr< GDIMetaFile >& rMtf ); 93 void reset( const ::boost::shared_ptr< GDIMetaFile >& rMtf ); 111 const ::boost::shared_ptr< GDIMetaFile >& rMtf );
|
H A D | gdimtftools.hxx | 72 MtfAnimationFrame( const GDIMetaFileSharedPtr& rMtf, in MtfAnimationFrame() 74 mpMtf( rMtf ), in MtfAnimationFrame() 147 const GDIMetaFileSharedPtr& rMtf );
|
/aoo4110/main/sd/source/ui/dlg/ |
H A D | vectdlg.cxx | 169 void SdVectorizeDlg::Calculate( Bitmap& rBmp, GDIMetaFile& rMtf ) in Calculate() argument 198 MapMode aMap( rMtf.GetPrefMapMode() ); in Calculate() 199 aNewMtf.SetPrefSize( rMtf.GetPrefSize() ); in Calculate() 228 aNewMtf.AddAction( rMtf.GetAction( n )->Clone() ); in Calculate() 233 rMtf = aNewMtf; in Calculate() 244 void SdVectorizeDlg::AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf, in AddTile() argument 269 const Size& rMaxSize = rMtf.GetPrefSize(); in AddTile() 271 aRect = PixelToLogic( aRect, rMtf.GetPrefMapMode() ); in AddTile() 279 rMtf.AddAction( new MetaLineColorAction( aColor, sal_True ) ); in AddTile() 280 rMtf.AddAction( new MetaFillColorAction( aColor, sal_True ) ); in AddTile() [all …]
|
/aoo4110/main/filter/source/svg/ |
H A D | svgexport.cxx | 141 const GDIMetaFile& rMtf ) : in ObjectRepresentation() argument 143 mpMtf( new GDIMetaFile( rMtf ) ) in ObjectRepresentation() 768 mpSVGWriter->WriteMetaFile( aNullPt, rMtf.GetPrefSize(), rMtf, SVGWRITER_WRITE_FILL ); in implExportPages() 897 if( rMtf.GetActionCount() ) in implExportShape() 920 if( implHasText( rMtf ) ) in implExportShape() 1202 switch( rMtf.GetAction( nCurAction )->GetType() ) in implHasText() 1310 void SVGExport::writeMtf( const GDIMetaFile& rMtf ) in writeMtf() argument 1312 …const Size aSize( OutputDevice::LogicToLogic( rMtf.GetPrefSize(), rMtf.GetPrefMapMode(), M… in writeMtf() 1347 …Point aPoint100thmm( OutputDevice::LogicToLogic( rMtf.GetPrefMapMode().GetOrigin(), rMtf.GetPrefMa… in writeMtf() 1348 …Size aSize100thmm( OutputDevice::LogicToLogic( rMtf.GetPrefSize(), rMtf.GetPrefMapMode(), MAP_100… in writeMtf() [all …]
|
/aoo4110/main/vcl/inc/vcl/ |
H A D | gdimtf.hxx | 130 SAL_DLLPRIVATE void ImplAddGradientEx( GDIMetaFile& rMtf, 144 GDIMetaFile( const GDIMetaFile& rMtf ); 149 GDIMetaFile& operator=( const GDIMetaFile& rMtf ); 150 sal_Bool operator==( const GDIMetaFile& rMtf ) const; 151 sal_Bool operator!=( const GDIMetaFile& rMtf ) const { return !( *this == rMtf ); } in operator !=() 154 sal_Bool IsEqual( const GDIMetaFile& rMtf ) const; 185 void Play( GDIMetaFile& rMtf, sal_uLong nPos = GDI_METAFILE_END );
|
H A D | cvtsvm.hxx | 98 SAL_DLLPRIVATE void ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf ); 99 SAL_DLLPRIVATE void ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf ); 100 SAL_DLLPRIVATE sal_uLong ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf, 107 SVMConverter( SvStream& rIStm, GDIMetaFile& rMtf, sal_uLong nConvertMode );
|
/aoo4110/main/sfx2/source/doc/ |
H A D | graphhelp.cxx | 285 sal_Bool GraphicHelper::createThumb_Impl( const GDIMetaFile& rMtf, in createThumb_Impl() argument 296 const Point aTLPix( aVDev.LogicToPixel( aNullPt, rMtf.GetPrefMapMode() ) ); in createThumb_Impl() 297 …t aBRPix( aVDev.LogicToPixel( Point( rMtf.GetPrefSize().Width() - 1, rMtf.GetPrefSize().Height… in createThumb_Impl() 298 Size aDrawSize( aVDev.LogicToPixel( rMtf.GetPrefSize(), rMtf.GetPrefMapMode() ) ); in createThumb_Impl() 356 const_cast< GDIMetaFile& >( rMtf ).WindStart(); in createThumb_Impl() 357 const_cast< GDIMetaFile& >( rMtf ).Play( &aVDev, aBackPosPix, aDrawSize ); in createThumb_Impl()
|
/aoo4110/main/svx/source/xml/ |
H A D | xmlgrhlp.cxx | 68 const MetaCommentAction* ImplCheckForEPS( GDIMetaFile& rMtf ) in ImplCheckForEPS() argument 73 if ( ( rMtf.GetActionCount() >= 2 ) in ImplCheckForEPS() 74 && ( rMtf.FirstAction()->GetType() == META_EPS_ACTION ) in ImplCheckForEPS() 75 && ( ((const MetaAction*)rMtf.GetAction( 1 ))->GetType() == META_COMMENT_ACTION ) in ImplCheckForEPS() 77 pComment = (const MetaCommentAction*)rMtf.GetAction( 1 ); in ImplCheckForEPS() 633 GDIMetaFile& rMtf( (GDIMetaFile&)aGraphic.GetGDIMetaFile() ); in ImplWriteGraphic() local 634 const MetaCommentAction* pComment = ImplCheckForEPS( rMtf ); in ImplWriteGraphic() 642 const MetaEPSAction* pAct = ( (const MetaEPSAction*)rMtf.FirstAction() ); in ImplWriteGraphic() 648 rMtf.Write( *pStream ); in ImplWriteGraphic() 751 GDIMetaFile& rMtf( (GDIMetaFile&)aGraphic.GetGDIMetaFile() ); in ImplInsertGraphicURL() local [all …]
|
/aoo4110/main/filter/source/flash/ |
H A D | swfexporter.cxx | 651 bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile& rMtf, bool bOnlyB… in getMetaFile() argument 702 for( sal_uLong i = 0, nCount = rMtf.GetActionCount(); i < nCount; i++ ) in getMetaFile() 704 const MetaAction* pAction = rMtf.GetAction( i ); in getMetaFile() 720 rMtf.Clear(); in getMetaFile() 721 rMtf.AddAction(pmetaAct); in getMetaFile() 726 rMtf.Read( *aFile.GetStream( STREAM_READ ) ); in getMetaFile() 728 if(usesClipActions(rMtf)) in getMetaFile() 733 clipMetafileContentAgainstOwnRegions(rMtf); in getMetaFile() 737 int icount = rMtf.GetActionCount(); in getMetaFile()
|
/aoo4110/main/svtools/source/filter/ |
H A D | sgfbram.cxx | 496 sal_Bool SgfFilterVect(SvStream& rInp, SgfHeader& rHead, SgfEntry&, GDIMetaFile& rMtf) in SgfFilterVect() argument 511 rMtf.Record(&aOutDev); in SgfFilterVect() 554 rMtf.Stop(); in SgfFilterVect() 555 rMtf.WindStart(); in SgfFilterVect() 558 rMtf.SetPrefMapMode( aMap ); in SgfFilterVect() 559 rMtf.SetPrefSize( Size( (short)rHead.Xsize, (short)rHead.Ysize ) ); in SgfFilterVect() 573 sal_Bool SgfVectFilter(SvStream& rInp, GDIMetaFile& rMtf) in SgfVectFilter() argument 591 bRet=SgfFilterVect(rInp,aHead,aEntr,rMtf); in SgfVectFilter()
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdfmtf.cxx | 135 const sal_uLong nCount(rMtf.GetActionCount()); in DoLoopActions() 139 MetaAction* pAct = rMtf.GetAction(a); in DoLoopActions() 144 pAct = rMtf.GetAction(0); in DoLoopActions() 222 const GDIMetaFile& rMtf, in DoImport() argument 230 const Size aMtfSize(rMtf.GetPrefSize()); in DoImport() 266 pProgrInfo->SetActionCount(rMtf.GetActionCount()); in DoImport() 272 DoLoopActions(const_cast< GDIMetaFile& >(rMtf), pProgrInfo, &nActionsToReport); in DoImport() 287 nActionsToReport = (rMtf.GetActionCount() - maTmpList.size()) * 2; in DoImport() 1523 const GDIMetaFile& rMtf = rAct.GetGDIMetaFile(); in DoAction() local 1525 if(rMtf.GetActionCount()) in DoAction() [all …]
|
/aoo4110/main/svx/source/dialog/ |
H A D | _bmpmask.cxx | 807 GDIMetaFile SvxBmpMask::ImpMask( const GDIMetaFile& rMtf ) in ImpMask() argument 818 aMtf = rMtf; in ImpMask() 836 aMtf.SetPrefSize( rMtf.GetPrefSize() ); in ImpMask() 837 aMtf.SetPrefMapMode( rMtf.GetPrefMapMode() ); in ImpMask() 860 for( sal_uIntPtr nAct = 0UL, nActCount = rMtf.GetActionCount(); nAct < nActCount; nAct++ ) in ImpMask() 862 MetaAction* pAction = rMtf.GetAction( nAct ); in ImpMask() 1105 GDIMetaFile SvxBmpMask::ImpReplaceTransparency( const GDIMetaFile& rMtf, const Color& rColor ) in ImpReplaceTransparency() argument 1109 const MapMode& rPrefMap = rMtf.GetPrefMapMode(); in ImpReplaceTransparency() 1110 const Size& rPrefSize = rMtf.GetPrefSize(); in ImpReplaceTransparency() 1111 const sal_uIntPtr nActionCount = rMtf.GetActionCount(); in ImpReplaceTransparency() [all …]
|
/aoo4110/main/cppcanvas/source/inc/ |
H A D | implrenderer.hxx | 68 const GDIMetaFile& rMtf, 120 bool createActions( GDIMetaFile& rMtf, 127 void skipContent( GDIMetaFile& rMtf, 131 bool isActionContained( GDIMetaFile& rMtf,
|
/aoo4110/main/svtools/source/filter/wmf/ |
H A D | emfwr.cxx | 166 sal_Bool EMFWriter::WriteEMF( const GDIMetaFile& rMtf, SvStream& rOStm, FilterConfigItem* pFilterCo… in WriteEMF() argument 178 maVDev.SetMapMode( rMtf.GetPrefMapMode() ); in WriteEMF() 184 const Size aMtfSizePix( maVDev.LogicToPixel( rMtf.GetPrefSize(), rMtf.GetPrefMapMode() ) ); in WriteEMF() 185 …const Size aMtfSizeLog( maVDev.LogicToLogic( rMtf.GetPrefSize(), rMtf.GetPrefMapMode(), MAP_100TH_… in WriteEMF() 221 ImplWrite( rMtf ); in WriteEMF() 898 void EMFWriter::ImplWrite( const GDIMetaFile& rMtf ) in ImplWrite() argument 900 for( sal_uLong j = 0, nActionCount = rMtf.GetActionCount(); j < nActionCount; j++ ) in ImplWrite() 902 const MetaAction* pAction = rMtf.GetAction( j ); in ImplWrite()
|
/aoo4110/main/cppcanvas/source/mtfrenderer/ |
H A D | implrenderer.cxx | 516 void ImplRenderer::skipContent( GDIMetaFile& rMtf, in skipContent() argument 524 while( (pCurrAct=rMtf.NextAction()) != NULL ) in skipContent() 556 while( (pCurrAct=rMtf.NextAction()) != NULL ) in isActionContained() 579 rMtf.WindPrev(); in isActionContained() 1340 for( pCurrAct=rMtf.FirstAction(); in createActions() 1342 pCurrAct = rMtf.NextAction() ) in createActions() 1787 !isActionContained( rMtf, in createActions() 1877 skipContent( rMtf, in createActions() 2951 const GDIMetaFile& rMtf, in ImplRenderer() argument 2981 aVDev.SetMapMode( rMtf.GetPrefMapMode() ); in ImplRenderer() [all …]
|
/aoo4110/main/svtools/source/graphic/ |
H A D | grfmgr2.cxx | 726 const Size aNewSize( rMtf.GetPrefSize() ); in ImplCreateOutput() 728 rOutMtf = rMtf; in ImplCreateOutput() 742 const MapMode& rPrefMapMode( rMtf.GetPrefMapMode() ); in ImplCreateOutput() 1863 rMtf.Convert( MTF_CONVERSION_1BIT_THRESHOLD ); in ImplAdjust() 1867 rMtf.Convert( MTF_CONVERSION_8BIT_GREYS ); in ImplAdjust() 1884 rMtf.Adjust( aAttr.GetLuminance(), aAttr.GetContrast(), in ImplAdjust() 1891 rMtf.Mirror( aAttr.GetMirrorFlags() ); in ImplAdjust() 1896 rMtf.Rotate( aAttr.GetRotation() ); in ImplAdjust() 1980 ( (GDIMetaFile&) rMtf ).WindStart(); in ImplDraw() 1981 ( (GDIMetaFile&) rMtf ).Play( pOut, aOutPt, aOutSz ); in ImplDraw() [all …]
|