Changeset 7215 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QAPVisualizationControl.cs
- Timestamp:
- 12/20/11 13:54:57 (12 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 4 4 *.suo 5 5 *.vsp 6 Doxygen 6 7 Google.ProtocolBuffers-0.9.1.dll 7 8 HeuristicLab 3.3.5.1.ReSharper.user 8 9 HeuristicLab 3.3.6.0.ReSharper.user 9 10 HeuristicLab.4.5.resharper.user 11 HeuristicLab.ExtLibs.6.0.ReSharper.user 10 12 HeuristicLab.resharper.user 11 13 ProtoGen.exe … … 16 18 bin 17 19 protoc.exe 18 HeuristicLab.ExtLibs.6.0.ReSharper.user19 Doxygen
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.QuadraticAssignment.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.QuadraticAssignment.Views (added) merged: 7021,7092
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QAPVisualizationControl.cs
r5933 r7215 22 22 using System; 23 23 using System.Drawing; 24 using System.Drawing.Drawing2D;25 using System.Drawing.Text;26 24 using System.Globalization; 27 25 using System.Text; … … 173 171 if (bitmap == null) return; 174 172 using (Graphics g = Graphics.FromImage(bitmap)) { 175 g.TextRenderingHint = TextRenderingHint.AntiAlias; 176 g.SmoothingMode = SmoothingMode.AntiAlias; 173 g.Clear(Color.White); 177 174 178 175 Font font = new Font(FontFamily.GenericSansSerif, 12, FontStyle.Regular); … … 304 301 Random rand = new Random(); 305 302 using (Graphics graphics = Graphics.FromImage(newBitmap)) { 306 graphics.SmoothingMode = SmoothingMode.AntiAlias; 307 graphics.TextRenderingHint = TextRenderingHint.AntiAlias; 303 graphics.Clear(Color.White); 308 304 graphics.DrawString("Showing locations spaced out according to their distances", Font, Brushes.Black, 5, 2); 309 305 … … 394 390 Random rand = new Random(); 395 391 using (Graphics graphics = Graphics.FromImage(newBitmap)) { 396 graphics.SmoothingMode = SmoothingMode.AntiAlias; 397 graphics.TextRenderingHint = TextRenderingHint.AntiAlias; 392 graphics.Clear(Color.White); 398 393 graphics.DrawString("Showing facilities spaced out according to their weights", Font, Brushes.Black, 5, 2); 399 394 … … 490 485 Random rand = new Random(); 491 486 using (Graphics graphics = Graphics.FromImage(newBitmap)) { 492 graphics.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; 493 graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; 494 487 graphics.Clear(Color.White); 495 488 for (int i = 0; i < assignment.Length - 1; i++) { 496 489 for (int j = i + 1; j < assignment.Length; j++) {
Note: See TracChangeset
for help on using the changeset viewer.