示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
 public void ShallowCopy(vtkTextMapper tm)
 {
     vtkTextMapper.vtkTextMapper_ShallowCopy_19(base.GetCppThis(), (tm == null) ? default(HandleRef) : tm.GetCppThis());
 }
示例#4
0
 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));
 }
示例#5
0
 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));
 }