Example #1
0
 public PictureProcessor() : base()
 {
     BrightnessHandler = new BrightnessHandler(this);
     ContrastHandler   = new ContrastHandler(this);
     GrayscaleHandler  = new GrayscaleHandler(this);
     FileHandler       = new ImageFileHandler(this);
     RotationHandler   = new RotationHandler(this);
 }
 public CurrentImageHandler() : base()
 {
     CurrentBrightnessHandler = new BrightnessHandler(this);
     CurrentContrastHandler   = new ContrastHandler(this);
     CurrentCropHandler       = new CropHandler(this);
     CurrentFilterHandler     = new FilterHandler(this);
     CurrentGrayscaleHandler  = new GrayscaleHandler(this);
     CurrentFileHandler       = new ImageFileHandler(this);
     CurrentImgInsHandler     = new ImageInsertionHandler(this);
     CurrentInvHandler        = new InversionHandler(this);
     CurrentRotationHandler   = new RotationHandler(this);
     CurrentSepiaToneHandler  = new SepiaToneHandler(this);
     CurrentShapeInsHandler   = new ShapeInsertionHandler(this);
     CurrentTextInsHandler    = new TextInsertionHandler(this);
 }