Method | Description | |
---|---|---|
Draw ( List |
Draw the latest updates to our image/render target. The list of all gestures / locations touched by the user since the last update
|
|
InitialisePictureState ( bool newImage ) : void |
Initialise the picture state manager
|
|
PictureStateManager ( IFilenameResolver filenameResolver, IPictureIOManager pictureIOManager, IRenderTargertHandler renderTargetHandler, |
Initializes a new instance of the Paint.PictureStateManager class.
|
|
Redo ( ) : void |
Redo the most recent undo.
|
|
Save ( ) : void |
Save the image in its current state
|
|
Undo ( ) : void |
Undo the most recent change
|
Method | Description | |
---|---|---|
OnRedoEnabledChanged ( |
Raises the redo ebabled changed event.
|
|
OnUndoEnabledChanged ( |
Raises the undo ebabled changed event.
|
Method | Description | |
---|---|---|
LoadSavePointData ( ) : void |
Loads the save point data. Loads the CanvasRecorder file from the working folder Gets the image from the specific in memory rendertarget and draws that to the master canvas (rendertarget)
|
|
StoreSavePointData ( ) : void |
Stores the save point data. Saves the CanvasRecorder file to disk in the working folder Saves the current image into an in memory RenderTarget
|
|
StoreWorkingImageStateData ( ) : void |
Persists the working image state data to disk
|
public InitialisePictureState ( bool newImage ) : void | ||
newImage | bool | |
return | void |
protected OnRedoEnabledChanged ( |
||
e | /// General EventArgs /// | |
return | void |
protected OnUndoEnabledChanged ( |
||
e | /// General EventArgs /// | |
return | void |
public PictureStateManager ( IFilenameResolver filenameResolver, IPictureIOManager pictureIOManager, IRenderTargertHandler renderTargetHandler, |
||
filenameResolver | IFilenameResolver | |
pictureIOManager | IPictureIOManager | |
renderTargetHandler | IRenderTargertHandler | |
imageStateData | ||
return | System |