Permalink
Browse files

2008-09-03 Sebastien Pouliot <sebastien@ximian.com>

	* general.c: Compute intermediate start/end points correctly on an
	open curve. Patch by Marek Habersack


svn path=/trunk/libgdiplus/; revision=112177
  • Loading branch information...
1 parent 1300855 commit c31ef1e81c9e76b71cd03223c85466be6171d180 Sebastien Pouliot committed Sep 3, 2008
Showing with 6 additions and 1 deletion.
  1. +5 −0 src/ChangeLog
  2. +1 −1 src/general.c
View
@@ -1,3 +1,8 @@
+2008-09-03 Sebastien Pouliot <sebastien@ximian.com>
+
+ * general.c: Compute intermediate start/end points correctly on an
+ open curve. Patch by Marek Habersack
+
2008-09-02 Sebastien Pouliot <sebastien@ximian.com>
* graphics-path.c: Add support to compress points (skip on of two
View
@@ -199,7 +199,7 @@ gdip_open_curve_tangents (int terms, const GpPointF *points, int count, float te
if (count <= 2)
return tangents;
- for (i = 1; i < count - 1; i++) {
+ for (i = 0; i < count; i++) {
int r = i + 1;
int s = i - 1;

0 comments on commit c31ef1e

Please sign in to comment.