From 74622e58a96b143400c19c7ff408f084bcf78918 Mon Sep 17 00:00:00 2001 From: Stani Date: Mon, 6 Jul 2015 12:36:29 +0200 Subject: fix documentation string MoveTo --- fpdf.go | 18 ++++++++++-------- 1 file 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) { -- cgit v1.2.1-24-ge1ad