Exemplo n.º 1
0
        public new static vtkBrush New()
        {
            vtkBrush result      = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkBrush.vtkBrush_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkBrush)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemplo n.º 2
0
        public virtual vtkBrush GetBrush()
        {
            vtkBrush vtkBrush    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkPlot.vtkPlot_GetBrush_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkBrush = (vtkBrush)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkBrush.Register(null);
                }
            }
            return(vtkBrush);
        }
Exemplo n.º 3
0
        public new static vtkBrush SafeDownCast(vtkObjectBase o)
        {
            vtkBrush vtkBrush    = null;
            uint     mteStatus   = 0u;
            uint     mteIndex    = 4294967295u;
            uint     rawRefCount = 0u;
            IntPtr   intPtr      = vtkBrush.vtkBrush_SafeDownCast_11((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkBrush = (vtkBrush)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkBrush.Register(null);
                }
            }
            return(vtkBrush);
        }
Exemplo n.º 4
0
 public void ApplyBrush(vtkBrush brush)
 {
     vtkContextDevice2D.vtkContextDevice2D_ApplyBrush_01(base.GetCppThis(), (brush == null) ? default(HandleRef) : brush.GetCppThis());
 }
Exemplo n.º 5
0
 public void DeepCopy(vtkBrush brush)
 {
     vtkBrush.vtkBrush_DeepCopy_01(base.GetCppThis(), (brush == null) ? default(HandleRef) : brush.GetCppThis());
 }