My Project
公開方法(Public Methods) | 公開屬性 | 全部成員列表
GraphDoc

記錄shape list,action data stack 記錄動作,每個動作(pointAry)包含,該圖是圖形的第幾個(Listplace),之前記錄是否己有相同圖是第幾個,目前圖存在記錄的第幾個 更多...

公開方法(Public Methods)

int checkWhich (gPath gp)
 
int checkWhich (gPath gp)
 
void reDo ()
 重作到目前狀態 更多...
 
void reDo ()
 重作到目前狀態 更多...
 
void reDrawAll ()
 
void reDrawAll ()
 
void Release ()
 
void Release ()
 
void unDo ()
 undo 回到前一狀態 更多...
 
void unDo ()
 undo 回到前一狀態 更多...
 
void writeIn (gPath Data, int Action)
 維護 undo stack ,把目前狀態存起來.並清空redo stack,如果之前有undo 動作,是回覆到某一狀態,在此之後的動作都可清除 更多...
 
void writeIn (gPath Data, int Action)
 維護 undo stack ,把目前狀態存起來.並清空redo stack,如果之前有undo 動作,是回覆到某一狀態,在此之後的動作都可清除 更多...
 

公開屬性

bool bmove
 
List< gPathFullList = new List<gPath>()
 
int mx
 
int my
 
int node = 0
 
Stack RedoStack = new Stack()
 
int selIndex = -1
 
List< gViewshapeList = new List<gView>()
 
SVGRoot sroot = new SVGRoot()
 
Stack UndoStack = new Stack()
 

詳細描述

記錄shape list,action data stack 記錄動作,每個動作(pointAry)包含,該圖是圖形的第幾個(Listplace),之前記錄是否己有相同圖是第幾個,目前圖存在記錄的第幾個

定義在 GraphDoc.cs 檔案之第 37 行.

函式成員說明文件

◆ checkWhich() [1/2]

int checkWhich ( gPath  gp)

定義在 GraphDoc.cs 檔案之第 45 行.

◆ checkWhich() [2/2]

int checkWhich ( gPath  gp)

定義在 GraphDoc.cs 檔案之第 50 行.

◆ reDo() [1/2]

void reDo ( )

重作到目前狀態

定義在 GraphDoc.cs 檔案之第 127 行.

◆ reDo() [2/2]

void reDo ( )

重作到目前狀態

定義在 GraphDoc.cs 檔案之第 138 行.

◆ reDrawAll() [1/2]

void reDrawAll ( )

定義在 GraphDoc.cs 檔案之第 73 行.

◆ reDrawAll() [2/2]

void reDrawAll ( )

定義在 GraphDoc.cs 檔案之第 78 行.

◆ Release() [1/2]

void Release ( )

定義在 GraphDoc.cs 檔案之第 216 行.

◆ Release() [2/2]

void Release ( )

定義在 GraphDoc.cs 檔案之第 233 行.

◆ unDo() [1/2]

void unDo ( )

undo 回到前一狀態

定義在 GraphDoc.cs 檔案之第 160 行.

◆ unDo() [2/2]

void unDo ( )

undo 回到前一狀態

定義在 GraphDoc.cs 檔案之第 171 行.

◆ writeIn() [1/2]

void writeIn ( gPath  Data,
int  Action 
)

維護 undo stack ,把目前狀態存起來.並清空redo stack,如果之前有undo 動作,是回覆到某一狀態,在此之後的動作都可清除

參數
Data
Action

定義在 GraphDoc.cs 檔案之第 91 行.

◆ writeIn() [2/2]

void writeIn ( gPath  Data,
int  Action 
)

維護 undo stack ,把目前狀態存起來.並清空redo stack,如果之前有undo 動作,是回覆到某一狀態,在此之後的動作都可清除

參數
Data
Action

定義在 GraphDoc.cs 檔案之第 96 行.

資料成員說明文件

◆ bmove

bool bmove

定義在 GraphDoc.cs 檔案之第 48 行.

◆ FullList

List< gPath > FullList = new List<gPath>()

定義在 GraphDoc.cs 檔案之第 41 行.

◆ mx

int mx

定義在 GraphDoc.cs 檔案之第 46 行.

◆ my

int my

定義在 GraphDoc.cs 檔案之第 47 行.

◆ node

int node = 0

定義在 GraphDoc.cs 檔案之第 45 行.

◆ RedoStack

Stack RedoStack = new Stack()

定義在 GraphDoc.cs 檔案之第 43 行.

◆ selIndex

int selIndex = -1

定義在 GraphDoc.cs 檔案之第 44 行.

◆ shapeList

List< gView > shapeList = new List<gView>()

定義在 GraphDoc.cs 檔案之第 40 行.

◆ sroot

SVGRoot sroot = new SVGRoot()

定義在 GraphDoc.cs 檔案之第 39 行.

◆ UndoStack

Stack UndoStack = new Stack()

定義在 GraphDoc.cs 檔案之第 42 行.


此類別(class) 文件是由下列檔案中產生: