|
My Project
|
公開方法(Public Methods) | |
| UserControl1 () | |
| void | ClearBtnUse () |
| void | ClearDrawing () |
| void | color (String CName) |
| void | drawBackLine (double w, double h, double opac) |
| 畫背景格線 更多... | |
| void | hiddenCanvas () |
| 隱藏myControl 更多... | |
| void | hideBackLine () |
| void | InitializeComponent () |
| InitializeComponent 更多... | |
| void | InitializeComponent () |
| InitializeComponent 更多... | |
| void | initpath (string xml) |
| void | RUdo (int Act) |
| void | stroke (int stroketype) |
公開屬性 | |
| checkHitDraw | chd = new checkHitDraw() |
| String | colortype = "black" |
| int | drawtype = 1 |
| 初始設定 更多... | |
| int | lineSpace = 9 |
| RUse | ru = new RUse() |
私有方法(Private Methods) | |
| void System.Windows.Markup.IComponentConnector. | Connect (int connectionId, object target) |
| void System.Windows.Markup.IComponentConnector. | Connect (int connectionId, object target) |
| Point | correctPoint (Point p) |
| 是否有選取物件 /// 更多... | |
| String | pathDataToPoint (String Data) |
| 調整顏色 更多... | |
| void | showCanvas () |
| 顯示myControl 更多... | |
| void | UserControl_KeyDown (object sender, KeyEventArgs e) |
| 繪製曲線 更多... | |
| void | UserControl_Unloaded (object sender, RoutedEventArgs e) |
| 關閉時,轉成圖片 更多... | |
私有屬性 | |
| bool | _contentLoaded |
| bool | bConThing = false |
| 判斷是否為繪製新圖形 更多... | |
| BezierSegment | bezier = new BezierSegment() |
| 紀錄四個控制點使用 更多... | |
| bool | bfirst = true |
| 紀錄控制後的曲線 更多... | |
| byte | colorB = 0 |
| byte | colorG = 0 |
| byte | colorR = 0 |
| System.Windows.Shapes.Path | controlPath = new System.Windows.Shapes.Path() |
| 紀錄曲線 更多... | |
| PathFigure | figure = new PathFigure() |
| PathGeometry | geometry = new PathGeometry() |
| gPoint | gp |
| internal System.Windows.Controls.Canvas | myBackground |
| internal System.Windows.Controls.Canvas | myControl |
| internal System.Windows.Controls.Canvas | mygrid |
| Line | myLine |
| System.Windows.Shapes.Path | myPath = new System.Windows.Shapes.Path() |
| Point | p0 |
| 繪製曲線時的狀態 更多... | |
| Point | p1 |
| Point | p2 |
| Point | p3 = new Point(0, 0) |
| String | Status = "rest" |
| int | strokeT = 3 |
| Geometry | tempGeo |
| UserControl1 | ( | ) |
定義在 UserControl1.xaml.cs 檔案之第 40 行.
| void ClearBtnUse | ( | ) |
清除畫布警告
定義在 UserControl1.xaml.cs 檔案之第 286 行.
| void ClearDrawing | ( | ) |
清空資料區
定義在 UserControl1.xaml.cs 檔案之第 299 行.
| void color | ( | String | CName | ) |
調整顏色
定義在 UserControl1.xaml.cs 檔案之第 381 行.
|
private |
定義在 UserControl1.g.i.cs 檔案之第 94 行.
|
private |
定義在 UserControl1.g.cs 檔案之第 94 行.
|
private |
| void drawBackLine | ( | double | w, |
| double | h, | ||
| double | opac | ||
| ) |
畫背景格線
定義在 UserControl1.xaml.cs 檔案之第 312 行.
| void hiddenCanvas | ( | ) |
隱藏myControl
定義在 UserControl1.xaml.cs 檔案之第 138 行.
| void hideBackLine | ( | ) |
背景格線取消
定義在 UserControl1.xaml.cs 檔案之第 306 行.
| void InitializeComponent | ( | ) |
InitializeComponent
定義在 UserControl1.g.cs 檔案之第 74 行.
| void InitializeComponent | ( | ) |
InitializeComponent
定義在 UserControl1.g.i.cs 檔案之第 74 行.
| void initpath | ( | string | xml | ) |
匯入xml,轉換成圖片
定義在 UserControl1.xaml.cs 檔案之第 467 行.
|
private |
調整顏色
定義在 UserControl1.xaml.cs 檔案之第 451 行.
| void RUdo | ( | int | Act | ) |
定義在 UserControl1.xaml.cs 檔案之第 435 行.
|
private |
顯示myControl
定義在 UserControl1.xaml.cs 檔案之第 145 行.
| void stroke | ( | int | stroketype | ) |
線條粗細
定義在 UserControl1.xaml.cs 檔案之第 361 行.
|
private |
|
private |
關閉時,轉成圖片
定義在 UserControl1.xaml.cs 檔案之第 480 行.
|
private |
定義在 UserControl1.g.cs 檔案之第 67 行.
|
private |
|
private |
紀錄四個控制點使用
定義在 UserControl1.xaml.cs 檔案之第 76 行.
|
private |
紀錄控制後的曲線
定義在 UserControl1.xaml.cs 檔案之第 101 行.
| checkHitDraw chd = new checkHitDraw() |
定義在 UserControl1.xaml.cs 檔案之第 57 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 62 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 61 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 60 行.
| String colortype = "black" |
定義在 UserControl1.xaml.cs 檔案之第 54 行.
|
private |
紀錄曲線
定義在 UserControl1.xaml.cs 檔案之第 96 行.
| int drawtype = 1 |
初始設定
定義在 UserControl1.xaml.cs 檔案之第 53 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 77 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 78 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 59 行.
| int lineSpace = 9 |
定義在 UserControl1.xaml.cs 檔案之第 55 行.
|
private |
定義在 UserControl1.g.cs 檔案之第 46 行.
|
private |
定義在 UserControl1.g.cs 檔案之第 62 行.
|
private |
定義在 UserControl1.g.cs 檔案之第 54 行.
|
private |
紀錄橢圓形
定義在 UserControl1.xaml.cs 檔案之第 88 行.
|
private |
紀錄直線、控制後的直線
定義在 UserControl1.xaml.cs 檔案之第 92 行.
|
private |
|
private |
定義在 UserControl1.xaml.cs 檔案之第 73 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 73 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 73 行.
定義在 UserControl1.xaml.cs 檔案之第 58 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 66 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 63 行.
|
private |
定義在 UserControl1.xaml.cs 檔案之第 82 行.
1.8.15