DrawPolyline outside the boundaries

Jul 2, 2012 at 9:06 AM

Hello!

It seems that drawing polylines (DrawPolyline) with points outside of the image is a problem. DrawLine works fine.

int[] points = new int[] {100, 100, -100, 0}
_WriteableBitmap.DrawPolyline(points, Colors.Red);

_WriteableBitmap.DrawLine(100, 100, -100, 0, Colors.Cyan);

The two methods do not give the same result.

Coordinator
Jul 2, 2012 at 1:08 PM

Thanks for reporting this issue. It's fixed in revision 92370.

Please download the latest source and build your own binary. http://writeablebitmapex.codeplex.com/SourceControl/changeset/changes/92370

 

- René

Jul 2, 2012 at 1:10 PM
Edited Jul 2, 2012 at 2:04 PM

Thank you!

It works fine now :-)!