diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-10 21:34:54 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-10 21:34:54 -0400 |
commit | 1e84d9be144408bfdbb95582191158acd1805c74 (patch) | |
tree | f3c39afe9b080972984eb1b065ac8b9adcbaf3d5 /doc.go | |
parent | fc5c7916f175f0301b8e103a72825c7db1c79186 (diff) |
Added support for drawing curves and arcs with an example. This was adapted
from the geometric figures FPDF script by David Hernández Sanz, with a starter
function provided by Anthony Starks.
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.
Diffstat (limited to 'doc.go')
-rw-r--r-- | doc.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |