private void CircularCoordArc(ArcSegment arc, double ratio, double radius) { double angle = CircularConverter.CalcScaleAngle(ratio); arc.Point = CircularConverter.CircularCoord(angle, radius); arc.IsLargeArc = (angle > System.Math.PI); }
private void CircularCoordLine(LineSegment line, double ratio, double radius) { double angle = CircularConverter.CalcScaleAngle(ratio); line.Point = CircularConverter.CircularCoord(angle, radius); }