示例#1
0
        public GraphicsPlus(HDC hdc, HANDLE hdevice)
        {
            GpGraphics Graphics = new GpGraphics();

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

            SetNativeGraphics(Graphics);
        }
示例#2
0
 public static GraphicsPlus FromHDC(HDC hdc, HANDLE hdevice)
 {
     return new GraphicsPlus(hdc, hdevice);
 }