Esempio n. 1
0
        public void SetCustomEndCap(CustomLineCap customCap)
        {
            GpCustomLineCap nativeCap = new GpCustomLineCap();

            if (customCap != null)
            {
                nativeCap = customCap.nativeCap;
            }

            SetStatus(GdiPlus.GdipSetPenCustomEndCap(nativePen,
                                                     nativeCap));
        }
Esempio n. 2
0
 public void GetCustomEndCap(out CustomLineCap customCap)
 {
     customCap = new CustomLineCap();
     SetStatus(GdiPlus.GdipGetPenCustomEndCap(nativePen,
                                              out customCap.nativeCap));
 }
Esempio n. 3
0
 public void GetCustomStartCap(out CustomLineCap customCap)
 {
     customCap = new CustomLineCap();
     SetStatus(GdiPlus.GdipGetPenCustomStartCap(nativePen,
                                                 out customCap.nativeCap));
 }
Esempio n. 4
0
        public void SetCustomStartCap(CustomLineCap customCap)
        {
            GpCustomLineCap nativeCap = new GpCustomLineCap();
            if (customCap != null)
                nativeCap = customCap.nativeCap;

            SetStatus(GdiPlus.GdipSetPenCustomStartCap(nativePen,
                                                                  nativeCap));
        }