internal Error RotateFine(IntPtr src, double angle, ref GflColor background) { this.ThrowIfDisposed(); if(this._RotateFineDestDelegate == null){ this._RotateFineDestDelegate = this.LoadMethod<RotateFineDestDelegate>("gflRotateFine"); } return this._RotateFineDestDelegate(src, IntPtr.Zero, angle, ref background); }
internal Error ResizeCanvas(IntPtr src, int width, int height, ResizeMethod method, ResizeCanvasOrigin origin, ref GflColor background) { this.ThrowIfDisposed(); if(this._ResizeCanvasDestDelegate == null){ this._ResizeCanvasDestDelegate = this.LoadMethod<ResizeCanvasDestDelegate>("gflResizeCanvas"); } return this._ResizeCanvasDestDelegate(src, IntPtr.Zero, width, height, method, origin, ref background); }
internal Error Rotate(IntPtr src, ref IntPtr dst, int angle, ref GflColor background) { this.ThrowIfDisposed(); if(this._RotateDelegate == null){ this._RotateDelegate = this.LoadMethod<RotateDelegate>("gflRotate"); } return this._RotateDelegate(src, ref dst, angle, ref background); }
internal IntPtr AllockBitmap(BitmapType type, int width, int height, uint linePadding, ref GflColor backgroundColor) { this.ThrowIfDisposed(); if(this._AllockBitmapDelegate == null){ this._AllockBitmapDelegate = this.LoadMethod<AllockBitmapDelegate>("gflAllockBitmap"); } return this._AllockBitmapDelegate(type, width, height, linePadding, ref backgroundColor); }