Пример #1
0
        private float CalculateRadius(ISvgBoundable boundable)
        {
            var radius = Radius.ToDeviceValue(boundable);
            var transformRadiusVector = TransformVector(new PointF(radius, 0));
            var transformedRadius     = CalculateLength(transformRadiusVector);

            return(transformedRadius);
        }
Пример #2
0
        private float CalculateRadius(SvgRenderer renderer)
        {
            var radius = Radius.ToDeviceValue(renderer, UnitRenderingType.Other, this);
            var transformRadiusVector = TransformVector(new PointF(radius, 0));
            var transformedRadius     = CalculateLength(transformRadiusVector);

            return(transformedRadius);
        }