コード例 #1
0
ファイル: Layer.cs プロジェクト: rstarkov/TankIconMaker
 /// <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);
コード例 #2
0
ファイル: Effect.cs プロジェクト: rstarkov/TankIconMaker
 /// <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);
コード例 #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);
コード例 #4
0
ファイル: Selector.cs プロジェクト: adri1wcrow/TankIconMaker
 public D.Color GetColorGdi(Tank tank)
 {
     return(GetColorWpf(tank).ToColorGdi());
 }