private static void On_SelectionBrush_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { SimpleCAD dh = d as SimpleCAD; if (dh != null) { UpdatePlot(); } }
private static void On_State_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { SimpleCAD dh = d as SimpleCAD; if (dh != null) { dh.On_State_Changed(e.NewValue as SimpleCAD_State); } }
private static void On_GeometryToCreate_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { SimpleCAD dh = d as SimpleCAD; if (dh != null) { dh.On_GeometryToCreate_Changed(); } }
private static void On_SelectedGeometry_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { SimpleCAD dh = d as SimpleCAD; if (dh != null) { dh.ResetGrips(); } }
private static void On_AxesTextSize_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { SimpleCAD dh = d as SimpleCAD; if (dh != null) { dh.Update_CoordinateAxes(); } }
public GeometryWraper(SimpleCAD owner, ICadGeometry geom) { m_owner = owner; m_geometry = geom; }