Exemplo n.º 1
0
 /// <summary>
 /// Returns this layer's image for this tank. Will be called from multiple threads in parallel. The result may be any size. Return
 /// a writable image if it may be modified directly, or mark it as read-only otherwise.
 /// </summary>
 public abstract BitmapBase Draw(Tank tank);
Exemplo n.º 2
0
 /// <summary>
 /// Applies the effect to the specified layer. Returns the resulting image. If the layer is writable, may modify it
 /// directly and return the same instance, instead of creating a new one.
 /// </summary>
 public abstract BitmapBase Apply(Tank tank, BitmapBase layer);
Exemplo n.º 3
0
 /// <summary>
 /// Returns this layer's image for this tank. Will be called from multiple threads in parallel. The result may be any size. Return
 /// a writable image if it may be modified directly, or mark it as read-only otherwise.
 /// </summary>
 public abstract BitmapBase Draw(Tank tank);
Exemplo n.º 4
0
 public D.Color GetColorGdi(Tank tank)
 {
     return(GetColorWpf(tank).ToColorGdi());
 }