Example #1
0
 public static void RotatePoints(PointF[] pnts, PointF origin, double degreeAngle)
 {
     for (int i = 0; i < (int)pnts.Length; i++)
     {
         pnts[i] = PointMath.RotatePoint(pnts[i], origin, degreeAngle);
     }
 }
Example #2
0
        public static PointF RotatePoint(PointF pnt, double degreeAngle)
        {
            PointF pointF = PointMath.RotatePoint(pnt, new PointF(0f, 0f), degreeAngle);

            return(pointF);
        }