Lines Matching refs:rMtf
493 SVMConverter::SVMConverter( SvStream& rStm, GDIMetaFile& rMtf, sal_uLong nConvertMode ) in SVMConverter() argument
498 ImplConvertFromSVM1( rStm, rMtf ); in SVMConverter()
500 ImplConvertToSVM1( rStm, rMtf ); in SVMConverter()
506 void SVMConverter::ImplConvertFromSVM1( SvStream& rIStm, GDIMetaFile& rMtf ) in ImplConvertFromSVM1() argument
559 rMtf.SetPrefSize( aPrefSz ); in ImplConvertFromSVM1()
560 rMtf.SetPrefMapMode( aMapMode ); in ImplConvertFromSVM1()
577 rMtf.AddAction( new MetaPixelAction( aPt, aActionColor ) ); in ImplConvertFromSVM1()
584 rMtf.AddAction( new MetaPointAction( aPt ) ); in ImplConvertFromSVM1()
591 rMtf.AddAction( new MetaLineAction( aPt, aPt1, aLineInfo ) ); in ImplConvertFromSVM1()
638 if(nLastPolygonAction < rMtf.GetActionCount()) in ImplConvertFromSVM1()
640 …MetaPolyLineAction* pPolyLineAction = dynamic_cast< MetaPolyLineAction* >(rMtf.GetAction(nLastPoly… in ImplConvertFromSVM1()
649 rMtf.ReplaceAction( in ImplConvertFromSVM1()
659 …MetaPolyPolygonAction* pPolyPolygonAction = dynamic_cast< MetaPolyPolygonAction* >(rMtf.GetAction(… in ImplConvertFromSVM1()
667 rMtf.ReplaceAction( in ImplConvertFromSVM1()
676 …MetaPolygonAction* pPolygonAction = dynamic_cast< MetaPolygonAction* >(rMtf.GetAction(nLastPolygon… in ImplConvertFromSVM1()
683 rMtf.ReplaceAction( in ImplConvertFromSVM1()
702 rMtf.AddAction( new MetaRoundRectAction( aRect, nTmp, nTmp1 ) ); in ImplConvertFromSVM1()
705 rMtf.AddAction( new MetaRectAction( aRect ) ); in ImplConvertFromSVM1()
708 rMtf.AddAction( new MetaPolyLineAction( aRect, aLineInfo ) ); in ImplConvertFromSVM1()
721 rMtf.AddAction( new MetaPushAction( PUSH_LINECOLOR ) ); in ImplConvertFromSVM1()
722 rMtf.AddAction( new MetaLineColorAction( COL_TRANSPARENT, sal_False ) ); in ImplConvertFromSVM1()
723 rMtf.AddAction( new MetaPolygonAction( aPoly ) ); in ImplConvertFromSVM1()
724 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
725 rMtf.AddAction( new MetaPolyLineAction( aPoly, aLineInfo ) ); in ImplConvertFromSVM1()
728 rMtf.AddAction( new MetaEllipseAction( aRect ) ); in ImplConvertFromSVM1()
741 rMtf.AddAction( new MetaPushAction( PUSH_LINECOLOR ) ); in ImplConvertFromSVM1()
742 rMtf.AddAction( new MetaLineColorAction( COL_TRANSPARENT, sal_False ) ); in ImplConvertFromSVM1()
743 rMtf.AddAction( new MetaPolygonAction( aPoly ) ); in ImplConvertFromSVM1()
744 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
745 rMtf.AddAction( new MetaPolyLineAction( aPoly, aLineInfo ) ); in ImplConvertFromSVM1()
748 rMtf.AddAction( new MetaArcAction( aRect, aPt, aPt1 ) ); in ImplConvertFromSVM1()
761 rMtf.AddAction( new MetaPushAction( PUSH_LINECOLOR ) ); in ImplConvertFromSVM1()
762 rMtf.AddAction( new MetaLineColorAction( COL_TRANSPARENT, sal_False ) ); in ImplConvertFromSVM1()
763 rMtf.AddAction( new MetaPolygonAction( aPoly ) ); in ImplConvertFromSVM1()
764 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
765 rMtf.AddAction( new MetaPolyLineAction( aPoly, aLineInfo ) ); in ImplConvertFromSVM1()
768 rMtf.AddAction( new MetaPieAction( aRect, aPt, aPt1 ) ); in ImplConvertFromSVM1()
776 rMtf.AddAction( new MetaPushAction( PUSH_RASTEROP ) ); in ImplConvertFromSVM1()
777 rMtf.AddAction( new MetaRasterOpAction( ROP_INVERT ) ); in ImplConvertFromSVM1()
778 rMtf.AddAction( new MetaRectAction( aRect ) ); in ImplConvertFromSVM1()
779 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
786 nLastPolygonAction = rMtf.GetActionCount(); in ImplConvertFromSVM1()
789 rMtf.AddAction( new MetaPolyLineAction( aActionPoly, aLineInfo ) ); in ImplConvertFromSVM1()
791 rMtf.AddAction( new MetaPolyLineAction( aActionPoly ) ); in ImplConvertFromSVM1()
801 rMtf.AddAction( new MetaPushAction( PUSH_LINECOLOR ) ); in ImplConvertFromSVM1()
802 rMtf.AddAction( new MetaLineColorAction( COL_TRANSPARENT, sal_False ) ); in ImplConvertFromSVM1()
803 rMtf.AddAction( new MetaPolygonAction( aActionPoly ) ); in ImplConvertFromSVM1()
804 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
805 rMtf.AddAction( new MetaPolyLineAction( aActionPoly, aLineInfo ) ); in ImplConvertFromSVM1()
809 nLastPolygonAction = rMtf.GetActionCount(); in ImplConvertFromSVM1()
810 rMtf.AddAction( new MetaPolygonAction( aActionPoly ) ); in ImplConvertFromSVM1()
823 rMtf.AddAction( new MetaPushAction( PUSH_LINECOLOR ) ); in ImplConvertFromSVM1()
824 rMtf.AddAction( new MetaLineColorAction( COL_TRANSPARENT, sal_False ) ); in ImplConvertFromSVM1()
825 rMtf.AddAction( new MetaPolyPolygonAction( aPolyPoly ) ); in ImplConvertFromSVM1()
826 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
829 rMtf.AddAction( new MetaPolyLineAction( aPolyPoly[ nPoly ], aLineInfo ) ); in ImplConvertFromSVM1()
833 nLastPolygonAction = rMtf.GetActionCount(); in ImplConvertFromSVM1()
834 rMtf.AddAction( new MetaPolyPolygonAction( aPolyPoly ) ); in ImplConvertFromSVM1()
876 rMtf.AddAction( new MetaFontAction( aFont ) ); in ImplConvertFromSVM1()
877 rMtf.AddAction( new MetaTextAlignAction( aFont.GetAlign() ) ); in ImplConvertFromSVM1()
878 rMtf.AddAction( new MetaTextColorAction( aFont.GetColor() ) ); in ImplConvertFromSVM1()
879 … rMtf.AddAction( new MetaTextFillColorAction( aFont.GetFillColor(), !aFont.IsTransparent() ) ); in ImplConvertFromSVM1()
898 rMtf.AddAction( new MetaTextAction( aPt, aStr, (sal_uInt16) nIndex, (sal_uInt16) nLen ) ); in ImplConvertFromSVM1()
956 …rMtf.AddAction( new MetaTextArrayAction( aPt, aStr, pDXAry, (sal_uInt16) nIndex, (sal_uInt16) nLen… in ImplConvertFromSVM1()
977 …rMtf.AddAction( new MetaStretchTextAction( aPt, nWidth, aStr, (sal_uInt16) nIndex, (sal_uInt16) nL… in ImplConvertFromSVM1()
989 rMtf.AddAction( new MetaBmpAction( aPt, aBmp ) ); in ImplConvertFromSVM1()
999 rMtf.AddAction( new MetaBmpScaleAction( aPt, aSz, aBmp ) ); in ImplConvertFromSVM1()
1010 rMtf.AddAction( new MetaBmpScalePartAction( aPt, aSz, aPt1, aSz2, aBmp ) ); in ImplConvertFromSVM1()
1026 rMtf.AddAction( new MetaLineColorAction( aActionColor, nPenStyle != 0 ) ); in ImplConvertFromSVM1()
1037 rMtf.AddAction( new MetaFillColorAction( aActionColor, nBrushStyle != 0 ) ); in ImplConvertFromSVM1()
1045 rMtf.AddAction( new MetaMapModeAction( aMapMode ) ); in ImplConvertFromSVM1()
1107 rMtf.AddAction( new MetaClipRegionAction( aRegion, bClip ) ); in ImplConvertFromSVM1()
1114 rMtf.AddAction( new MetaMoveClipRegionAction( nTmp, nTmp1 ) ); in ImplConvertFromSVM1()
1121 rMtf.AddAction( new MetaISectRectClipRegionAction( aRect ) ); in ImplConvertFromSVM1()
1148 rMtf.AddAction( new MetaRasterOpAction( eRasterOp ) ); in ImplConvertFromSVM1()
1155 rMtf.AddAction( new MetaPushAction( PUSH_ALL ) ); in ImplConvertFromSVM1()
1175 rMtf.AddAction( new MetaPopAction() ); in ImplConvertFromSVM1()
1208 rMtf.AddAction( new MetaGradientAction( aRect, aGrad ) ); in ImplConvertFromSVM1()
1220 rMtf.AddAction( new MetaTransparentAction( aPolyPoly, nTrans ) ); in ImplConvertFromSVM1()
1238 rMtf.AddAction( new MetaFloatTransparentAction( aMtf, aPos, aSize, aGradient ) ); in ImplConvertFromSVM1()
1254 rMtf.AddAction( new MetaHatchAction( aPolyPoly, aHatch ) ); in ImplConvertFromSVM1()
1270 rMtf.AddAction( new MetaRefPointAction( aRefPoint, bSet ) ); in ImplConvertFromSVM1()
1292 rMtf.AddAction( new MetaTextLineColorAction( aColor, bSet ) ); in ImplConvertFromSVM1()
1310 rMtf.AddAction( new MetaTextLineAction( aStartPt, nWidth, in ImplConvertFromSVM1()
1329 rMtf.AddAction( new MetaGradientExAction( aPolyPoly, aGradient ) ); in ImplConvertFromSVM1()
1357 rMtf.AddAction( new MetaCommentAction( aComment, nValue, pData, nDataSize ) ); in ImplConvertFromSVM1()
1388 void SVMConverter::ImplConvertToSVM1( SvStream& rOStm, GDIMetaFile& rMtf ) in ImplConvertToSVM1() argument
1395 const Size aPrefSize( rMtf.GetPrefSize() ); in ImplConvertToSVM1()
1410 ImplWriteMapMode( rOStm, rMtf.GetPrefMapMode() ); in ImplConvertToSVM1()
1416 …const sal_Int32 nActCount = ImplWriteActions( rOStm, rMtf, aSaveVDev, bRop_0_1, aLineCol, aLineCol… in ImplConvertToSVM1()
1431 sal_uLong SVMConverter::ImplWriteActions( SvStream& rOStm, GDIMetaFile& rMtf, in ImplWriteActions() argument
1437 for( sal_uLong i = 0, nActionCount = rMtf.GetActionCount(); i < nActionCount; i++ ) in ImplWriteActions()
1439 const MetaAction* pAction = rMtf.GetAction( i ); in ImplWriteActions()