summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2014-08-22 20:04:38 -0400
committerKurt Jung <kurt.w.jung@code.google.com>2014-08-22 20:04:38 -0400
commitef5dc50e1f5db2dec99b33f2699bfd90c061b146 (patch)
treeb390ca3a724305608059cdb1a25f088ec5cbadc8
parent5212485284df2c6ad88f2af101af38e3852c1004 (diff)
Tweak comments to make lint happy
-rw-r--r--fpdf.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdf.go b/fpdf.go
index db59b3d..20705b8 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -248,8 +248,8 @@ func (f *Fpdf) Error() error {
return f.err
}
-// Return the current page's width and height. This is the paper's size. To
-// compute the size of the area being used, subtract the margins (see
+// GetPageSize returns the current page's width and height. This is the paper's
+// size. To compute the size of the area being used, subtract the margins (see
// GetMargins()).
func (f *Fpdf) GetPageSize() (width, height float64) {
width = f.w
@@ -257,8 +257,8 @@ func (f *Fpdf) GetPageSize() (width, height float64) {
return
}
-// Return the left, top, right, and bottom margins. The first three are set
-// with the SetMargins() method. The bottom margin is set with the
+// GetMargins returns the left, top, right, and bottom margins. The first three
+// are set with the SetMargins() method. The bottom margin is set with the
// SetAutoPageBreak() method.
func (f *Fpdf) GetMargins() (left, top, right, bottom float64) {
left = f.lMargin