Pinta.ImageManipulation.BitVector2DSurfaceAdapter.BitVector2DSurfaceAdapter C# (CSharp) Method

BitVector2DSurfaceAdapter() public method

public BitVector2DSurfaceAdapter ( ISurface surface ) : System
surface ISurface
return System
		public BitVector2DSurfaceAdapter (ISurface surface)
		{
			if (surface == null)
				throw new ArgumentNullException ("surface");

			this.surface = surface;
			src_width = surface.Width;
			src_height = surface.Height;
		}