Paint.PaintApp.StoreSavePoint C# (CSharp) Method

StoreSavePoint() public method

Save the canvas/display to the specified save-point (undo/redo render target).
public StoreSavePoint ( int savePoint ) : void
savePoint int specific save point we wish to use to store the canvas
return void
        public void StoreSavePoint(int savePoint)
        {
            this.RenderImage(this.undoRedoRenderTargets[savePoint], this.InMemoryCanvasRenderTarget);
        }