jung-kurt / gofpdf

A PDF document generator with high level support for text, drawing and images
http://godoc.org/github.com/jung-kurt/gofpdf
MIT License
4.31k stars 777 forks source link

adds RoundedRect per Issue #272 #286

Closed BeeHam closed 5 years ago

jung-kurt commented 5 years ago

Thanks, @BeeHam! I straightened out one glitch in which a statement needed to be removed from a nested block. Also, I extended the example (thanks for including!) to show corner variations.

BeeHam commented 5 years ago

Wow, thank you for the refactoring & reformatting. I don't know what happened with the formatting, I must've forgot to go fmt. Kind of embarrassing. I'll have to remember for next time.

jung-kurt commented 5 years ago

Many editors have an on-write hook to which you can attach a call to go fmt. That way, your source never hits the disk without being in conformance.

Thanks again for contribution.