jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
245 stars 43 forks source link

Implement Dashed Rectangles with Offsets #30

Closed nikeee closed 4 years ago

nikeee commented 4 years ago

I tried to implement #28.

You can see a demo of the dashed rectangles in the whiteboard example. The eraser has now a dashed outline which is animated (by its offset).

Feel free to request changes, I'll try my best.

Resolves #28

jingwood commented 4 years ago

@nikeee Thanks very much! Let me check and merge it!

nikeee commented 4 years ago

If something is not quite right, you can also push directly to the branch of my repository.

jingwood commented 4 years ago

Thanks! nice change!