예제 #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
        public CustomLineCap(
            GraphicsPath fillPath,
            GraphicsPath strokePath,
            LineCap baseCap,
            float baseInset
            )
        {
            nativeCap = new GpCustomLineCap();
            GpPath nativeFillPath = null;
            GpPath nativeStrokePath = null;

            if (fillPath != null)
                nativeFillPath = fillPath.nativePath;
            if (strokePath != null)
                nativeStrokePath = strokePath.nativePath;

            lastResult = GdiPlus.GdipCreateCustomLineCap(
                            nativeFillPath, nativeStrokePath,
                            baseCap, baseInset, out nativeCap);
        }
예제 #3
0
        public CustomLineCap(
            GraphicsPath fillPath,
            GraphicsPath strokePath,
            LineCap baseCap,
            float baseInset
            )
        {
            nativeCap = new GpCustomLineCap();
            GpPath nativeFillPath   = null;
            GpPath nativeStrokePath = null;

            if (fillPath != null)
            {
                nativeFillPath = fillPath.nativePath;
            }
            if (strokePath != null)
            {
                nativeStrokePath = strokePath.nativePath;
            }

            lastResult = GdiPlus.GdipCreateCustomLineCap(
                nativeFillPath, nativeStrokePath,
                baseCap, baseInset, out nativeCap);
        }
예제 #4
0
 void SetNativeCap(GpCustomLineCap nativeCap)
 {
     this.nativeCap = nativeCap;
 }
예제 #5
0
파일: Pens.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipGetPenCustomStartCap(GpPen pen, out GpCustomLineCap customCap);
예제 #6
0
파일: Pens.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipSetPenCustomEndCap(GpPen pen, GpCustomLineCap customCap);
예제 #7
0
파일: LineCaps.cs 프로젝트: windygu/haina
 internal static extern GpStatus GdipCreateCustomLineCap(GpPath fillPath, GpPath strokePath, LineCap baseCap, float baseInset, out GpCustomLineCap customCap);
예제 #8
0
파일: LineCaps.cs 프로젝트: windygu/haina
 internal static extern GpStatus GdipSetCustomLineCapStrokeCaps(GpCustomLineCap customCap, GpLineCap startCap, GpLineCap endCap);
예제 #9
0
파일: LineCaps.cs 프로젝트: windygu/haina
 internal static extern GpStatus GdipDeleteCustomLineCap(GpCustomLineCap customCap);
예제 #10
0
파일: LineCaps.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipDeleteCustomLineCap(GpCustomLineCap customCap);
예제 #11
0
파일: LineCaps.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipCreateCustomLineCap(GpPath fillPath, GpPath strokePath, LineCap baseCap, float baseInset, out GpCustomLineCap customCap);
예제 #12
0
파일: Pens.cs 프로젝트: Radytz/DroppedBoxx
 extern static internal GpStatus  GdipGetPenCustomEndCap(GpPen pen, out GpCustomLineCap customCap);
예제 #13
0
파일: Pens.cs 프로젝트: Radytz/DroppedBoxx
 extern static internal GpStatus GdipSetPenCustomStartCap(GpPen pen, GpCustomLineCap customCap);
예제 #14
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));
        }
예제 #15
0
 void SetNativeCap(GpCustomLineCap nativeCap)
 {
     this.nativeCap = nativeCap;
 }
예제 #16
0
파일: LineCaps.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipSetCustomLineCapStrokeCaps(GpCustomLineCap customCap, GpLineCap startCap, GpLineCap endCap);
예제 #17
0
 public CustomLineCap(GpCustomLineCap nativeCap, GpStatus status)
 {
     lastResult = status;
     SetNativeCap(nativeCap);
 }
예제 #18
0
 public CustomLineCap(GpCustomLineCap nativeCap, GpStatus status)
 {
     lastResult = status;
     SetNativeCap(nativeCap);
 }