Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3213 for trunk/sources


Ignore:
Timestamp:
03/25/10 03:38:06 (15 years ago)
Author:
swagner
Message:

Fixed upside down flipped visualization of TSP tours (#924).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/PathTSPTourView.cs

    r3158 r3213  
    102102            for (int i = 0; i < coordinates.Rows; i++)
    103103              points[i] = new Point(border + ((int)((coordinates[i, 0] - xMin) * xStep)),
    104                                     border + ((int)((coordinates[i, 1] - yMin) * yStep)));
     104                                    bitmap.Height - (border + ((int)((coordinates[i, 1] - yMin) * yStep))));
    105105
    106106            Graphics graphics = Graphics.FromImage(bitmap);
Note: See TracChangeset for help on using the changeset viewer.