public cImage Apply(cImage source, int width, int height, bool useCenteredGrid)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type, width, height, useCenteredGrid));
 }
 public override cImage Apply(cImage source)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type));
 }
Exemple #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));
 }
Exemple #5
0
 public override cImage Apply(cImage source)
 {
     Contract.Requires(source != null);
     return(source.ApplyScaler(this._type, this._allowAlphaBlending));
 }
Exemple #6
0
 public cImage Apply(cImage source, int width, int height) => source.ApplyScaler(this._type, width, height);
Exemple #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?))
   ;
Exemple #8
0
 public override cImage Apply(cImage source) => source.ApplyScaler(this._type, this._allowAlphaBlending, default(Rectangle?));