Browse Source

fix default curve tension

svn path=/trunk/mcs/; revision=48215
Konstantin Triger 20 years ago
parent
commit
1bd783d0de

+ 4 - 0
mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog

@@ -1,3 +1,7 @@
+2005-08-10 Konstantin Triger <[email protected]>
+
+	* GraphicsPath.jvm.cs: fix default curve tension.
+
 2005-08-0 9Konstantin Triger <[email protected]>
 
 	* GraphicsPath.jvm.cs, DashStyle.cs: refactoring

+ 2 - 2
mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.jvm.cs

@@ -591,12 +591,12 @@ namespace System.Drawing.Drawing2D
 		//flattening features, otherwise curves will be more strict but less cool
 		public void AddCurve (Point [] points)
 		{
-			AddCurve(points,0.3F);
+			AddCurve(points,0.5F);
 		}
                 
 		public void AddCurve (PointF [] points)
 		{
-			AddCurve(points,0.3f);
+			AddCurve(points,0.5f);
 		}
                 
 		public void AddCurve (Point [] points, float tension)