From c87ed4686551a1a724c87f35185652b59e6cc1ef Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Tue, 10 Sep 2013 16:50:57 -0400 Subject: Typos in documentation for vertical skew functions. --- fpdftrans.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdftrans.go') 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°") -- cgit v1.2.1-24-ge1ad