override internal void RefreshScreenCoordinates(HTCoordS sOrigin, HTCoordS sMax) { base.RefreshScreenCoordinates(sOrigin, sMax); HTDrawNode child = null; for (IEnumerator i = Children(); i.MoveNext();) { child = (HTDrawNode)i.Current; child.RefreshScreenCoordinates(sOrigin, sMax); HTGeodesic geod = (HTGeodesic)geodesics[child]; if (geod != null) { geod.RefreshScreenCoordinates(sOrigin, sMax); } } }
override internal void DrawBranches(Graphic g) { HTDrawNode child = null; for (IEnumerator i = Children(); i.MoveNext();) { child = (HTDrawNode)i.Current; HTGeodesic geod = (HTGeodesic)geodesics[child]; if (geod != null) { geod.Draw(g, child.GetBranchColor()); } child.DrawBranches(g); } }
override internal void Restore() { base.Restore(); HTDrawNode child = null; for (IEnumerator i = Children(); i.MoveNext();) { child = (HTDrawNode)i.Current; child.Restore(); HTGeodesic geod = (HTGeodesic)geodesics[child]; if (geod != null) { geod.Rebuild(); } } }