public new static vtkTextMapper New() { vtkTextMapper result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkTextMapper.vtkTextMapper_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkTextMapper)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkTextMapper SafeDownCast(vtkObjectBase o) { vtkTextMapper vtkTextMapper = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkTextMapper.vtkTextMapper_SafeDownCast_13((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkTextMapper = (vtkTextMapper)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkTextMapper.Register(null); } } return(vtkTextMapper); }
public void ShallowCopy(vtkTextMapper tm) { vtkTextMapper.vtkTextMapper_ShallowCopy_19(base.GetCppThis(), (tm == null) ? default(HandleRef) : tm.GetCppThis()); }
public static int SetRelativeFontSize(vtkTextMapper arg0, vtkViewport arg1, IntPtr winSize, IntPtr stringSize, float sizeFactor) { return(vtkTextMapper.vtkTextMapper_SetRelativeFontSize_17((arg0 == null) ? default(HandleRef) : arg0.GetCppThis(), (arg1 == null) ? default(HandleRef) : arg1.GetCppThis(), winSize, stringSize, sizeFactor)); }
public static int SetConstrainedFontSize(vtkTextMapper arg0, vtkViewport arg1, int targetWidth, int targetHeight) { return(vtkTextMapper.vtkTextMapper_SetConstrainedFontSize_15((arg0 == null) ? default(HandleRef) : arg0.GetCppThis(), (arg1 == null) ? default(HandleRef) : arg1.GetCppThis(), targetWidth, targetHeight)); }