Example #1
0
        public new static vtkPen New()
        {
            vtkPen result      = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPen.vtkPen_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPen)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Example #2
0
        public virtual vtkPen GetPen()
        {
            vtkPen vtkPen      = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlot.vtkPlot_GetPen_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPen = (vtkPen)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPen.Register(null);
                }
            }
            return(vtkPen);
        }
 public void ApplyPen(vtkPen pen)
 {
     vtkContextDevice2D.vtkContextDevice2D_ApplyPen_02(base.GetCppThis(), (pen == null) ? default(HandleRef) : pen.GetCppThis());
 }
Example #5
0
 public void DeepCopy(vtkPen pen)
 {
     vtkPen.vtkPen_DeepCopy_01(base.GetCppThis(), (pen == null) ? default(HandleRef) : pen.GetCppThis());
 }