private float CalculateRadius(ISvgBoundable boundable) { var radius = Radius.ToDeviceValue(boundable); var transformRadiusVector = TransformVector(new PointF(radius, 0)); var transformedRadius = CalculateLength(transformRadiusVector); return(transformedRadius); }
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); }