public virtual int Open( out ID2D1TessellationSink tessellationSink ) { var fp = GetFunctionPointer(4); if (m_OpenFunc == null) { m_OpenFunc = (OpenFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(OpenFunc)); } tessellationSink = new ID2D1TessellationSink(); return(m_OpenFunc(m_ptr, out tessellationSink.PtrForNew)); }
public virtual int Tessellate( ref System.Numerics.Matrix3x2 worldTransform, float flatteningTolerance, ID2D1TessellationSink tessellationSink ) { var fp = GetFunctionPointer(10); if (m_TessellateFunc == null) { m_TessellateFunc = (TessellateFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(TessellateFunc)); } return(m_TessellateFunc(m_ptr, ref worldTransform, flatteningTolerance, tessellationSink != null ? tessellationSink.Ptr : IntPtr.Zero)); }