public DrawFootPrint ( |
||
graphics | The graphics object. | |
displayPen | A display pen. | |
highlightPen | A highlight pen. | |
return | void |
/// <summary> /// Display the footprint roof lines in the picture box control. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void picturebox_Paint(object sender, PaintEventArgs e) { Graphics graphics = e.Graphics; graphics.Clear(System.Drawing.Color.White); graphics.TranslateTransform(m_drawCenter.X, m_drawCenter.Y); graphics.ScaleTransform(m_scale, m_scale); graphics.PageUnit = GraphicsUnit.Pixel; m_footPrintRoofWrapper.DrawFootPrint(graphics, m_displayPen, m_highLightPen); }