public void Run()
 {
     try
     {
         MOnSaveBitmap.OnBitmapReady(MFilterBitmap, SaveType.Filter);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemplo n.º 2
0
 public void Run()
 {
     try
     {
         MOnSaveBitmap.OnBitmapReady(MFilterBitmap, SaveType.Filter);
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
Exemplo n.º 3
0
 public void OnBitmapReady(Bitmap saveBitmap, SaveType type)
 {
     try
     {
         Log.Error("NiceArtEditorView", "saveFilter: " + saveBitmap);
         MImgSource.SetImageBitmap(saveBitmap);
         MImageFilterView.Visibility = ViewStates.Gone;
         MOnSaveBitmap.OnBitmapReady(saveBitmap, type);
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
 public void OnBitmapReady(Bitmap saveBitmap, SaveType type)
 {
     try
     {
         Log.Error("NiceArtEditorView", "saveFilter: " + saveBitmap);
         MImgSource.SetImageBitmap(saveBitmap);
         MImageFilterView.Visibility = ViewStates.Gone;
         MOnSaveBitmap.OnBitmapReady(saveBitmap, type);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemplo n.º 5
0
 public async void SaveFilter(INiceArt.IOnSaveBitmap onSaveBitmap)
 {
     try
     {
         MOnSaveBitmap = onSaveBitmap;
         if (MImageFilterView.Visibility == ViewStates.Visible)
         {
             await MImageFilterView.SaveBitmap(this);
         }
         else
         {
             onSaveBitmap.OnBitmapReady(MImgSource.GetBitmap(), SaveType.Normal);
         }
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
 public async void SaveFilter(INiceArt.IOnSaveBitmap onSaveBitmap)
 {
     try
     {
         MOnSaveBitmap = onSaveBitmap;
         if (MImageFilterView.Visibility == ViewStates.Visible)
         {
             await MImageFilterView.SaveBitmap(this);
         }
         else
         {
             onSaveBitmap.OnBitmapReady(MImgSource.GetBitmap(), SaveType.Normal);
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }