예제 #1
0
        public GraphicsPlus(HDC hdc)
        {
            GpGraphics Graphics = new GpGraphics();

            lastResult = GdiPlus.GdipCreateFromHDC(hdc, out Graphics);

            SetNativeGraphics(Graphics);
        }
예제 #2
0
        public GraphicsPlus(HDC hdc, HANDLE hdevice)
        {
            GpGraphics Graphics = new GpGraphics();

            lastResult = GdiPlus.GdipCreateFromHDC2(hdc, hdevice, out Graphics);

            SetNativeGraphics(Graphics);
        }
예제 #3
0
 internal static extern GpStatus GdipCreateFromHDC2(HDC hdc, IntPtr hDevice, out GpGraphics graphics);
예제 #4
0
 internal static extern GpStatus GdipCreateFromHDC(HDC hdc, out GpGraphics graphics);
예제 #5
0
파일: Bitmaps.cs 프로젝트: north0808/haina
 public static extern GpStatus GdipCreateFontFromDC(HDC hdc, out GpFont font);
예제 #6
0
파일: Bitmaps.cs 프로젝트: windygu/haina
 public extern static GpStatus GdipCreateFontFromDC(HDC hdc, out GpFont font);
예제 #7
0
 public void ReleaseHDC(HDC hdc)
 {
     SetStatus(GdiPlus.GdipReleaseDC(nativeGraphics, hdc));
 }
예제 #8
0
 extern static internal GpStatus GdipCreateFromHDC2(HDC hdc, IntPtr hDevice, out GpGraphics graphics);
예제 #9
0
 public static GraphicsPlus FromHDC(HDC hdc, HANDLE hdevice)
 {
     return new GraphicsPlus(hdc, hdevice);
 }
예제 #10
0
 public static GraphicsPlus FromHDC(HDC hdc)
 {
     return new GraphicsPlus(hdc);
 }
예제 #11
0
 public static GraphicsPlus FromHDC(HDC hdc, HANDLE hdevice)
 {
     return(new GraphicsPlus(hdc, hdevice));
 }
예제 #12
0
 public void ReleaseHDC(HDC hdc)
 {
     SetStatus(GdiPlus.GdipReleaseDC(nativeGraphics, hdc));
 }
예제 #13
0
 public static GraphicsPlus FromHDC(HDC hdc)
 {
     return(new GraphicsPlus(hdc));
 }
예제 #14
0
 extern static internal GpStatus GdipReleaseDC(GpGraphics graphics, HDC hdc);
예제 #15
0
 extern static internal GpStatus GdipGetDC(GpGraphics graphics, out HDC hdc);
예제 #16
0
 internal static extern GpStatus GdipGetDC(GpGraphics graphics, out HDC hdc);
예제 #17
0
 internal static extern GpStatus GdipReleaseDC(GpGraphics graphics, HDC hdc);
예제 #18
0
 extern static internal GpStatus GdipCreateFromHDC(HDC hdc, out GpGraphics graphics);