本文整理汇总了C#中Circle.Render方法的典型用法代码示例。如果您正苦于以下问题:C# Circle.Render方法的具体用法?C# Circle.Render怎么用?C# Circle.Render使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Circle
的用法示例。
在下文中一共展示了Circle.Render方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: listBox_SelectedValueChanged
private void listBox_SelectedValueChanged(object sender, EventArgs e)
{
// If we previously had a selected circle, erase it.
ISpatialDisplay display = EditingController.Current.ActiveDisplay;
if (m_Select!=null)
display.PaintNow();
/*
// If we previously had a selected circle, erase it. Then
// redraw any attached curved (erasing the highlighting
// may have left attached curves looking in poor shape).
if ( m_pSelect ) {
m_pSelect->Erase();
CeLayerList curlayer;
m_pSelect->DrawCurves(curlayer);
}
*/
// Get the new selection.
m_Select = GetSel();
if (m_Select==null)
return;
// ... and highlight it.
DottedStyle style = new DottedStyle();
m_Select.Render(display, style);
}