This project is read-only.

Strange behavior for FillRectangle

Oct 7, 2011 at 9:07 AM


I'm trying to use FillRectangle. Pretty simple thing (so far). I have below code. Which should result in a green rectangle of 173x173 pixels.


WriteableBitmap bitmap = new WriteableBitmap(173, 173);


I would expect a bitmap that's completely filled to the borders. But at the right and the bottom I still have one line of black pixels.

Hope there's a workaround to this.


Mark Monster

Oct 7, 2011 at 9:58 AM

Hey Mark,

There was a bug I fixed.

The fix is not in the binaries. Please use the source code and built it on your own for now.


- Rene Schulte

Oct 10, 2011 at 7:08 PM


I have just posted a comment to the bug that you say is fixed. I am using the latest source code and the bug does not appear to be fixed. Would you please look at my comment posted just a few minutes ago - I am seeing the exact behavior as Mark.