OurSonic.SonicEngine.Clear C# (CSharp) Method

Clear() public method

public Clear ( CanvasInformation canv ) : void
canv OurSonic.Utility.CanvasInformation
return void
        public void Clear(CanvasInformation canv)
        {
            int w;
            if (canv == gameCanvas)
                w = gameGoodWidth;
            else
                w = uiGoodWidth; 
            canv.DomCanvas[0].Me().width = w;

            gameCanvas.Context.Me().webkitImageSmoothingEnabled = false;
            gameCanvas.Context.Me().mozImageSmoothingEnabled = false;
            gameCanvas.Context.Me().imageSmoothingEnabled = false;
        }