示例#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?));
 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
 public cImage Apply(cImage source, int width, int height) => source.ApplyScaler(this._type, width, height);
示例#7
0
   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
 public override cImage Apply(cImage source) => source.ApplyScaler(this._type, this._allowAlphaBlending, default(Rectangle?));