summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf.go18
1 files changed, 10 insertions, 8 deletions
diff --git a/fpdf.go b/fpdf.go
index 6c21210..41d8c25 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -3487,15 +3487,17 @@ func (f *Fpdf) enddoc() {
}
// Path Drawing
-//
-// Create a "path" by moving a virtual stylus around the page, then draw it or
-// fill it in. The main advantage of using the path drawing routines rather
-// than multiple Fpdf.Line is that PDF creates nice line joins at the angles,
-// rather than just overlaying the lines.
-// MoveTo moves the stylus to (x, y) without drawing the path from the previous
-// point. Paths must start with a MoveTo to set the original stylus location or
-// the result is undefined.
+// MoveTo moves the stylus to (x, y) without drawing the path from the
+// previous point. Paths must start with a MoveTo to set the original
+// stylus location or the result is undefined.
+//
+// Create a "path" by moving a virtual stylus around the page (with
+// MoveTo, LineTo, CurveTo, CurveBezierCubicTo, ArcTo & ClosePath)
+// then draw it or fill it in (with DrawPath). The main advantage of
+// using the path drawing routines rather than multiple Fpdf.Line is
+// that PDF creates nice line joins at the angles, rather than just
+// overlaying the lines.
//
// See tutorial 30 for an example of this function.
func (f *Fpdf) MoveTo(x, y float64) {