예제 #1
0
파일: PenPlus.cs 프로젝트: windygu/haina
        public void SetCustomEndCap(CustomLineCap customCap)
        {
            GpCustomLineCap nativeCap = new GpCustomLineCap();

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

            SetStatus(GdiPlus.GdipSetPenCustomEndCap(nativePen,
                                                     nativeCap));
        }
예제 #2
0
파일: PenPlus.cs 프로젝트: windygu/haina
 public void GetCustomEndCap(out CustomLineCap customCap)
 {
     customCap = new CustomLineCap();
     SetStatus(GdiPlus.GdipGetPenCustomEndCap(nativePen,
                                              out customCap.nativeCap));
 }
예제 #3
0
파일: PenPlus.cs 프로젝트: north0808/haina
 public void GetCustomStartCap(out CustomLineCap customCap)
 {
     customCap = new CustomLineCap();
     SetStatus(GdiPlus.GdipGetPenCustomStartCap(nativePen,
                                                 out customCap.nativeCap));
 }
예제 #4
0
파일: PenPlus.cs 프로젝트: north0808/haina
        public void SetCustomStartCap(CustomLineCap customCap)
        {
            GpCustomLineCap nativeCap = new GpCustomLineCap();
            if (customCap != null)
                nativeCap = customCap.nativeCap;

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