buggins / dlangui

Cross Platform GUI for D programming language
Boost Software License 1.0
816 stars 122 forks source link

Rounded rectangle drawing for DrawBuf #566

Closed Superbelko closed 6 years ago

Superbelko commented 6 years ago

Implements drawing of rectangles with rounded corners.

Has option to keep corner radius square. Can be extended to control corners individually. I kept the helper functions static because of their potential usefulness elsewhere (esp. paths).