summaryrefslogtreecommitdiff
path: root/fpdftrans.go
diff options
context:
space:
mode:
authorKurt Jung <kurt.w.jung@code.google.com>2013-09-10 16:50:57 -0400
committerKurt Jung <kurt.w.jung@code.google.com>2013-09-10 16:50:57 -0400
commitc87ed4686551a1a724c87f35185652b59e6cc1ef (patch)
treeb789f9ece4e5f2f516f9487fc723a074a65a9afd /fpdftrans.go
parent601e5148b50411908b7dc6163f560f7cc62622e1 (diff)
Typos in documentation for vertical skew functions.
Diffstat (limited to 'fpdftrans.go')
-rw-r--r--fpdftrans.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdftrans.go b/fpdftrans.go
index 8c4e48c..fe9b1bc 100644
--- a/fpdftrans.go
+++ b/fpdftrans.go
@@ -130,7 +130,7 @@ func (f *Fpdf) TransformSkewX(angleX, x, y float64) {
// Vertically skew the following text, drawings and images keeping the point
// (x, y) stationary. angleY ranges from -90 degrees (skew to the bottom) to 90
-// degrees (skew to the right).
+// degrees (skew to the top).
func (f *Fpdf) TransformSkewY(angleY, x, y float64) {
f.TransformSkew(0, angleY, x, y)
}
@@ -138,7 +138,7 @@ func (f *Fpdf) TransformSkewY(angleY, x, y float64) {
// Generally skew the following text, drawings and images keeping the point (x,
// y) stationary. angleX ranges from -90 degrees (skew to the left) to 90
// degrees (skew to the right). angleY ranges from -90 degrees (skew to the
-// bottom) to 90 degrees (skew to the right).
+// bottom) to 90 degrees (skew to the top).
func (f *Fpdf) TransformSkew(angleX, angleY, x, y float64) {
if angleX <= -90 || angleX >= 90 || angleY <= -90 || angleY >= 90 {
f.err = fmt.Errorf("Skew values must be between -90° and 90°")