public virtual int Draw( IntPtr clientDrawingContext, IDWriteTextRenderer renderer, float originX, float originY ) { var fp = GetFunctionPointer(58); if (m_DrawFunc == null) { m_DrawFunc = (DrawFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(DrawFunc)); } return(m_DrawFunc(m_ptr, clientDrawingContext, renderer != null ? renderer.Ptr : IntPtr.Zero, originX, originY)); }
public virtual int Draw( IntPtr clientDrawingContext, IDWriteTextRenderer renderer, float originX, float originY, int isSideways, int isRightToLeft, IUnknown clientDrawingEffect ) { var fp = GetFunctionPointer(3); if (m_DrawFunc == null) { m_DrawFunc = (DrawFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(DrawFunc)); } return(m_DrawFunc(m_ptr, clientDrawingContext, renderer != null ? renderer.Ptr : IntPtr.Zero, originX, originY, isSideways, isRightToLeft, clientDrawingEffect != null ? clientDrawingEffect.Ptr : IntPtr.Zero)); }