DxfExtMethods.cs 402 B

1234567891011121314151617181920
  1. using System.Drawing;
  2. namespace FastReport.Export.Dxf.Utils
  3. {
  4. public static class DxfExtMethods
  5. {
  6. #region Public Methods
  7. public static PointF[] InvertY(PointF[] points)
  8. {
  9. for (int i = 0; i < points.Length; i++)
  10. {
  11. points[i].Y *= -1;
  12. }
  13. return points;
  14. }
  15. #endregion Public Methods
  16. }
  17. }