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;
}