Lines Matching refs:pStyle

659 	if ( pGDIObj->pStyle )  in SelectObject()
664 maLineStyle = (WinMtfLineStyle*)pGDIObj->pStyle; in SelectObject()
668 maFillStyle = (WinMtfFillStyle*)pGDIObj->pStyle; in SelectObject()
673 maFont = ((WinMtfFontStyle*)pGDIObj->pStyle)->aFont; in SelectObject()
783 void WinMtfOutput::CreateObject( GDIObjectType eType, void* pStyle ) in CreateObject() argument
785 if ( pStyle ) in CreateObject()
789 ImplMap( ((WinMtfFontStyle*)pStyle)->aFont ); in CreateObject()
790 if (!((WinMtfFontStyle*)pStyle)->aFont.GetHeight() ) in CreateObject()
791 ((WinMtfFontStyle*)pStyle)->aFont.SetHeight( 423 ); // defaulting to 12pt in CreateObject()
795 Size aSize( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetWidth(), 0 ); in CreateObject()
796 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetWidth( ImplMap( aSize ).Width() ); in CreateObject()
797 if ( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetStyle() == LINE_DASH ) in CreateObject()
801 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDistance( nDotLen ); in CreateObject()
802 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDotLen( nDotLen ); in CreateObject()
803 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDashLen( nDotLen * 4 ); in CreateObject()
816 vGDIObj[ nIndex ] = new GDIObj( eType, pStyle ); in CreateObject()
821 void WinMtfOutput::CreateObject( sal_Int32 nIndex, GDIObjectType eType, void* pStyle ) in CreateObject() argument
826 if ( pStyle ) in CreateObject()
829 ImplMap( ((WinMtfFontStyle*)pStyle)->aFont ); in CreateObject()
832 Size aSize( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetWidth(), 0 ); in CreateObject()
833 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetWidth( ImplMap( aSize ).Width() ); in CreateObject()
834 if ( ((WinMtfLineStyle*)pStyle)->aLineInfo.GetStyle() == LINE_DASH ) in CreateObject()
838 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDistance( nDotLen ); in CreateObject()
839 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDotLen( nDotLen ); in CreateObject()
840 ((WinMtfLineStyle*)pStyle)->aLineInfo.SetDashLen( nDotLen * 4 ); in CreateObject()
850 vGDIObj[ nIndex ] = new GDIObj( eType, pStyle ); in CreateObject()
857 delete (WinMtfLineStyle*)pStyle; in CreateObject()
860 delete (WinMtfFillStyle*)pStyle; in CreateObject()
863 delete (WinMtfFontStyle*)pStyle; in CreateObject()