コード例 #1
0
 internal Error LoadThumbnailFromMemory(IntPtr data, uint data_length, int width, int height, ref IntPtr bitmap, ref GflLoadParams prms, IntPtr info)
 {
     this.ThrowIfDisposed();
     if(this._LoadThumbnailFromMemoryDelegate == null){
         this._LoadThumbnailFromMemoryDelegate = this.LoadMethod<LoadThumbnailFromMemoryDelegate>("gflLoadThumbnailFromMemory");
     }
     return this._LoadThumbnailFromMemoryDelegate(data, data_length, width, height, ref bitmap, ref prms, info);
 }
コード例 #2
0
 internal Error LoadThumbnailFromHandle(IntPtr handle, int width, int height, ref IntPtr bitmap, ref GflLoadParams prms, IntPtr info)
 {
     this.ThrowIfDisposed();
     if(this._LoadThumbnailFromHandleDelegate == null){
         this._LoadThumbnailFromHandleDelegate = this.LoadMethod<LoadThumbnailFromHandleDelegate>("gflLoadThumbnailFromHandle");
     }
     return this._LoadThumbnailFromHandleDelegate(handle, width, height, ref bitmap, ref prms, info);
 }
コード例 #3
0
 internal Error LoadBitmap(string filename, ref IntPtr bitmap, ref GflLoadParams prms, IntPtr info)
 {
     this.ThrowIfDisposed();
     if(this._LoadBitmapDelegate == null){
         this._LoadBitmapDelegate = this.LoadMethod<LoadBitmapDelegate>("gflLoadBitmap");
     }
     return this._LoadBitmapDelegate(filename, ref bitmap, ref prms, info);
 }
コード例 #4
0
 internal Error LoadThumbnail(string filename, int width, int height, ref IntPtr bitmap, ref GflLoadParams prms, IntPtr info)
 {
     this.ThrowIfDisposed();
     if(this._LoadThumbnailDelegate == null){
         this._LoadThumbnailDelegate = this.LoadMethod<LoadThumbnailDelegate>("gflLoadThumbnail");
     }
     return this._LoadThumbnailDelegate(filename, width, height, ref bitmap, ref prms, info);
 }
コード例 #5
0
 internal void GetDefaultThumbailParams(ref GflLoadParams prms)
 {
     this.ThrowIfDisposed();
     if(this._GetDefaultThumbailParamsDelegate == null){
         this._GetDefaultThumbailParamsDelegate = this.LoadMethod<GetDefaultThumbailParamsDelegate>("gflGetDefaultThumbailParams");
     }
     this._GetDefaultThumbailParamsDelegate(ref prms);
 }