jingwood / d2dlib

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

Specifying line cap style #55

Closed drewnoakes closed 3 years ago

drewnoakes commented 3 years ago

Is it possible to specify the line cap style?

For example:

image

I think the current default is "Flat".

https://docs.microsoft.com/en-us/windows/win32/api/d2d1/ne-d2d1-d2d1_cap_style