Пример #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));
 }