gs:shear-tag

Started by newdep, September 24, 2007, 12:42:18 AM

Previous topic - Next topic

newdep

Hi Lutz,



what does gs:shear-tag actualy do?



Norman.
-- (define? (Cornflakes))

Lutz

#1
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:


[   1   shx ]
 [  shy   1  ]


Lines are kept streight and parallel by this transformation.



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



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



Lutz

newdep

#2
thanks ;-)
-- (define? (Cornflakes))