summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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