aboutsummaryrefslogtreecommitdiffstatsci
path: root/Drawing2D/src/ISurface.cs
blob: 198f7539208c81a375ea43bffcb108982f108874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2022  Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)

using System;

namespace Drawing2D
{
	public interface ISurface: IDisposable
	{
		int Width { get; }
		int Height { get; }

		void Flush ();

		/*void WriteToPng (string path);
		void WriteTo (IntPtr bitmap);
		void Clear ();
		ISurface CreateSimilar (int width, int height);*/
		void Resize (int width, int height);
	}
}