My Project
公開方法(Public Methods) | 私有方法(Private Methods) | 私有屬性 | 全部成員列表
eraser
類別eraser的繼承圖:
ShapePencil ShapeObj IShapeUI IDrawing IUpdateOP IInsertOP

公開方法(Public Methods)

override void DrawShape (gView gv, gPath data, Boolean bfirst)
 依data 繪製,如果是第一次畫要新建shape, 更新的話只要更新最後一點 更多...
 
override System.Collections.ArrayList getMenuItem ()
 覆寫System.Collections.ArrayList 更多...
 
- 公開方法(Public Methods) 繼承自 ShapePencil
override void DrawShape (gView gv, gPath data, Boolean bfirst)
 依data 繪製,如果是第一次畫要新建shape, 更新的話只要更新最後一點 更多...
 
override System.Collections.ArrayList getMenuItem ()
 覆寫System.Collections.ArrayList 更多...
 
override void MouseDownInsert (object sender, System.Windows.Input.MouseButtonEventArgs e)
 
override void MouseMoveInsert (object sender, System.Windows.Input.MouseEventArgs e)
 
override void MouseUpInsert (object sender, System.Windows.Input.MouseButtonEventArgs e)
 
- 公開方法(Public Methods) 繼承自 ShapeObj
void btn_Click (object sender, RibbonControlEventArgs e)
 UI 點選 更多...
 
void changeProperty (string prop, string value)
 
ShapeObj Create (string svg)
 從xml 生成data 更多...
 
virtual void DisplayControlPoints (gView gv, gPath data)
 
virtual void finish ()
 
virtual void FormKeyDown (object sender, System.Windows.Input.KeyEventArgs e)
 
void MouseDownUpdate (object sender, System.Windows.Input.MouseButtonEventArgs e)
 
void MouseMoveUpdate (object sender, System.Windows.Input.MouseEventArgs e)
 
void MouseOP (int ntype)
 
void MouseUpUpdate (object sender, System.Windows.Input.MouseButtonEventArgs e)
 
string SVGString ()
 存檔時存生xml 更多...
 
- 公開方法(Public Methods) 繼承自 IShapeUI
void changeProperty (String prop, string value)
 
ShapeObj Create (String svg)
 
- 公開方法(Public Methods) 繼承自 IUpdateOP
void MouseDownUpdate (object sender, MouseButtonEventArgs e)
 
void MouseMoveUpdate (object sender, MouseEventArgs e)
 
void MouseUpUpdate (object sender, MouseButtonEventArgs e)
 
- 公開方法(Public Methods) 繼承自 IInsertOP
void MouseDownInsert (object sender, MouseButtonEventArgs e)
 
void MouseMoveInsert (object sender, MouseEventArgs e)
 
void MouseUpInsert (object sender, MouseButtonEventArgs e)
 

私有方法(Private Methods)

double B0 (double u)
 
double B1 (double u)
 
double B2 (double u)
 
double B3 (double u)
 

私有屬性

int count = 0
 
int extra
 
int m = 6
 
int MAX_STEPS = 1000
 
Point [] myarr = new Point[6]
 

額外的繼承成員

- 保護方法(Protected Methods) 繼承自 ShapeObj
System.Windows.Point correctPoint (System.Windows.Point p)
 
void remGPath (double px, double py, double ex, double ey)
 儲存新繪製的圖形資料 更多...
 
- 保護屬性 繼承自 ShapeObj
gPath currPath
 

詳細描述

定義在 eraser.cs 檔案之第 15 行.

函式成員說明文件

◆ B0()

double B0 ( double  u)
private

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

◆ B1()

double B1 ( double  u)
private

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

◆ B2()

double B2 ( double  u)
private

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

◆ B3()

double B3 ( double  u)
private

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

◆ DrawShape()

override void DrawShape ( gView  gv,
gPath  data,
Boolean  bfirst 
)
virtual

依data 繪製,如果是第一次畫要新建shape, 更新的話只要更新最後一點

依據ShapeObj重新實作.

定義在 eraser.cs 檔案之第 62 行.

◆ getMenuItem()

override System.Collections.ArrayList getMenuItem ( )
virtual

覆寫System.Collections.ArrayList

依據ShapeObj重新實作.

定義在 eraser.cs 檔案之第 17 行.

資料成員說明文件

◆ count

int count = 0
private

定義在 eraser.cs 檔案之第 58 行.

◆ extra

int extra
private

定義在 eraser.cs 檔案之第 58 行.

◆ m

int m = 6
private

定義在 eraser.cs 檔案之第 58 行.

◆ MAX_STEPS

int MAX_STEPS = 1000
private

定義在 eraser.cs 檔案之第 59 行.

◆ myarr

Point [] myarr = new Point[6]
private

定義在 eraser.cs 檔案之第 56 行.


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