public virtual int GetTrimming( out DWRITE_TRIMMING trimmingOptions, out IDWriteInlineObject trimmingSign ) { var fp = GetFunctionPointer(17); if (m_GetTrimmingFunc == null) { m_GetTrimmingFunc = (GetTrimmingFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(GetTrimmingFunc)); } trimmingSign = new IDWriteInlineObject(); return(m_GetTrimmingFunc(m_ptr, out trimmingOptions, out trimmingSign.PtrForNew)); }
public virtual int SetTrimming( ref DWRITE_TRIMMING trimmingOptions, IDWriteInlineObject trimmingSign ) { var fp = GetFunctionPointer(9); if (m_SetTrimmingFunc == null) { m_SetTrimmingFunc = (SetTrimmingFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(SetTrimmingFunc)); } return(m_SetTrimmingFunc(m_ptr, ref trimmingOptions, trimmingSign != null ? trimmingSign.Ptr : IntPtr.Zero)); }