Пример #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
 public static extern GpStatus GdipCreateFontFromDC(HDC hdc, out GpFont font);
Пример #6
0
 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);