Page 1 of 1

gs:shear-tag

Posted: Mon Sep 24, 2007 7:42 am
by newdep
Hi Lutz,

what does gs:shear-tag actualy do?

Norman.

Posted: Mon Sep 24, 2007 11:49 am
by Lutz
shear is an affine transform which shifts all x and y coordinates of a shape by a certain factor shx and shy. This is the 2D transformation matrix:

Code: Select all

 [   1   shx ]
 [  shy   1  ]
Lines are kept streight and parallel by this transformation.

See also here: http://en.wikipedia.org/wiki/Affine_transformation

and here: http://en.wikipedia.org/wiki/Shear_%28mathematics%29

Lutz

Posted: Tue Sep 25, 2007 5:54 am
by newdep
thanks ;-)