iTextSharp.text.pdf.codec.wmf.MetaDo.GetArc C# (CSharp) Method

GetArc() static private method

static private GetArc ( float xCenter, float yCenter, float xDot, float yDot ) : float
xCenter float
yCenter float
xDot float
yDot float
return float
        internal static float GetArc(float xCenter, float yCenter, float xDot, float yDot)
        {
            double s = Math.Atan2(yDot - yCenter, xDot - xCenter);
            if (s < 0)
            s += Math.PI * 2;
            return (float)(s / Math.PI * 180);
        }