From 1e84d9be144408bfdbb95582191158acd1805c74 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Sat, 10 Aug 2013 21:34:54 -0400 Subject: =?UTF-8?q?Added=20support=20for=20drawing=20curves=20and=20arcs?= =?UTF-8?q?=20with=20an=20example.=20This=20was=20adapted=20from=20the=20g?= =?UTF-8?q?eometric=20figures=20FPDF=20script=20by=20David=20Hern=C3=A1nde?= =?UTF-8?q?z=20Sanz,=20with=20a=20starter=20function=20provided=20by=20Ant?= =?UTF-8?q?hony=20Starks.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anthony Starks also made a case for not closing the io.Writer after it is used to produce a document. An additional method, OutputAndClose, was added so that the library can close the writer if desired. --- doc.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc.go') diff --git a/doc.go b/doc.go index f99773d..339534b 100644 --- a/doc.go +++ b/doc.go @@ -19,7 +19,8 @@ Package gofpdf implements a PDF document generator. This package's code and documentation are closely derived from the FPDF library created by Olivier Plathey, and a number of font and image resources are copied -directly from it. The FPDF website is http://www.fpdf.org/. +directly from it. Drawing support is adapted from the FPDF geometric figures +script by David Hernández Sanz. The FPDF website is http://www.fpdf.org/. Features @@ -41,6 +42,8 @@ Features • Page compression +• Drawing support (lines, Bézier curves, arcs, ellipses) + gofpdf has no dependencies other than the Go standard library. All tests pass on Linux, Mac and Windows platforms. Like FPDF version 1.7, from which gofpdf is derived, this package does not yet support UTF-8 source text. gofpdf is -- cgit v1.2.1-24-ge1ad