예제 #1
0
        public BitmapPlus(HBITMAP hbm, IntPtr hpal)
        {
            Initialize();
            GpBitmap bitmap = new GpBitmap();

            lastResult = GdiPlus.GdipCreateBitmapFromHBITMAP(hbm, hpal, out bitmap);

            SetNativeImage((GpImage)(IntPtr)bitmap);
        }
예제 #2
0
        public BitmapPlus(HBITMAP hbm, IntPtr hpal)
        {
            Initialize();
            GpBitmap bitmap = new GpBitmap();

            lastResult = GdiPlus.GdipCreateBitmapFromHBITMAP(hbm, hpal, out bitmap);

            SetNativeImage((GpImage)(IntPtr)bitmap);
        }
예제 #3
0
 public BitmapPlus FromHBITMAP(HBITMAP hbm, IntPtr hpal)
 {
     return new BitmapPlus(hbm, hpal);
 }
예제 #4
0
파일: Bitmaps.cs 프로젝트: north0808/haina
 internal static extern GpStatus GdipCreateHBITMAPFromBitmap(GpBitmap bitmap,
     out HBITMAP hbmReturn,
     int background);
예제 #5
0
파일: Bitmaps.cs 프로젝트: windygu/haina
 GdipCreateHBITMAPFromBitmap(GpBitmap bitmap,
                             out HBITMAP hbmReturn,
                             int background);
예제 #6
0
 public BitmapPlus FromHBITMAP(HBITMAP hbm, IntPtr hpal)
 {
     return(new BitmapPlus(hbm, hpal));
 }