コード例 #1
0
 public cImage Apply(cImage source, int width, int height, bool useCenteredGrid)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type, width, height, useCenteredGrid));
 }
コード例 #2
0
 public override cImage Apply(cImage source)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type));
 }
コード例 #3
0
 public override cImage Apply(cImage source) => source.ApplyScaler(this._type, this._mode, default(Rectangle?));
コード例 #4
0
 public cImage Apply(cImage source, int width, int height)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type, width, height));
 }
コード例 #5
0
 public override cImage Apply(cImage source)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type, this._allowAlphaBlending));
 }
コード例 #6
0
ファイル: Interpolator.cs プロジェクト: m35/2dimagefilter
 public cImage Apply(cImage source, int width, int height) => source.ApplyScaler(this._type, width, height);
コード例 #7
0
ファイル: RadiusResampler.cs プロジェクト: m35/2dimagefilter
   public cImage Apply(cImage source, int width, int height, float radius, bool useCenteredGrid)
   => source == null
 ? throw new ArgumentNullException(nameof(source))
 : source.ApplyScaler(this._type, width, height, radius, useCenteredGrid, default(Rectangle?))
   ;
コード例 #8
0
ファイル: XbrScaler.cs プロジェクト: m35/2dimagefilter
 public override cImage Apply(cImage source) => source.ApplyScaler(this._type, this._allowAlphaBlending, default(Rectangle?));