Пример #1
0
 /// <summary>
 /// Should be fired when average color of tile is calculated
 /// </summary>
 /// <param name="mosaic"></param>
 /// <param name="eventArgs"></param>
 protected virtual void OnTileAverageColorCalculated(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileSkipped != null)
     {
         TileSkipped(mosaic, eventArgs);
     }
 }
Пример #2
0
 protected virtual void OnCalculated(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (Calculated != null)
     {
         Calculated(mosaic, eventArgs);
     }
 }
Пример #3
0
 protected virtual void OnTileSkipped(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileSkipped != null)
     {
         TileSkipped(mosaic, eventArgs);
     }
 }
Пример #4
0
 protected virtual void OnTileDontFit(Mosaic mosaic, MosaicEventArgs eventArgs)
 {
     if (TileDontFit != null)
     {
         TileDontFit(mosaic, eventArgs);
     }
 }