public DisplayNode(IGeometryPointToWindowsPointConverter converter, int id, double x, double y, double directionAngle, double radius, SolidColorBrush fill, SolidColorBrush stroke, double strokeThickness) { m_Id = id; m_Radius = radius; m_FillValue = fill; m_StrokeValue = stroke; m_StrokeThicknessValue = strokeThickness; m_DirectionAngle = directionAngle; m_OriginalCentrePoint = new Point(x, y); converter.GeometryPoint = new Geometry.Shapes.Point(x, y); converter.Convert(); m_CentrePoint = converter.Point; m_Point = new Point(m_CentrePoint.X - m_Radius, m_CentrePoint.Y - m_Radius); m_Name = "Node " + m_Id; }
public LineToWindowPointsConverter(IGeometryPointToWindowsPointConverter converter) { m_Converter = converter; }
public PathSegmentHelper(IGeometryPointToWindowsPointConverter converter) { m_Converter = converter; }