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

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