Exemple #1
0
        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);
        }
Exemple #2
0
        private void CircularCoordLine(LineSegment line, double ratio, double radius)
        {
            double angle = CircularConverter.CalcScaleAngle(ratio);

            line.Point = CircularConverter.CircularCoord(angle, radius);
        }