Draw() public method

draw the line contain in m_lines in 2d Preview
public Draw ( Graphics graphics ) : void
graphics System.Drawing.Graphics Graphics to draw
return void
示例#1
0
 /// <summary>
 /// previewBox redraw
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void previewBox_Paint(object sender, PaintEventArgs e)
 {
     m_currentSketch.Draw(e.Graphics);
 }