Exemplo n.º 1
0
        /* it saves the vignette values to every image belonging the change */
        public override void SaveChange()
        {
            for (int i = _startImageNum; i <= _lastImageNum; i++)
            {
                IAdapterProxy current = _modifiedImages[i];

                current.ApplyVignette(_intensity);
            }
        }
Exemplo n.º 2
0
 public void ApplyVignette(int intensity)
 {
     if (_adapter == null)
     {
         GetAdapter().ApplyVignette(intensity);
     }
     else
     {
         _adapter.ApplyVignette(intensity);
     }
 }