I want to use custom brushes with the InkCanvas.

Their is a code snippet from MSDN. (<http://msdn.microsoft.com/en-us/library/ms747347.aspx>)

If i use that code and move my mouse VERY fast i get space between the brushes(ellipses):
[![Screenshot](https://i.stack.imgur.com/JnR3L.jpg)](https://i.stack.imgur.com/JnR3L.jpg)

And my question is of course how to fix this but I'm also curious why this is happening (I want to learn from it) I thought maybe i did something wrong but even if i cut/paste the example it's happening.

One little thing i noticed when reading the code was this comment in the CustomStroke class

```
// Draw linear gradient ellipses between
// all the StylusPoints in the Stroke

```

Seems to me like it should draw ellipses between the points not only at the points.

I'm using C#.NET.

Again in short:

* Why is this happening
* Help me fix it :)