Hi, I'm a bit confused over how skew is supposed to function. When I perform a horizontal skew of 20px on a 100x100px rectangle, I get a bounding box of 120x100px, with the top shifted right 10px, and the bottom shifted left 10px.
But when I perform a horizontal skew of 20px on a 100x64px rectangle, I get a bounding box of 112.8x64px.
12.8 = 6.4.x2?
Why does the height affect the amount of horiz skew when horizontal skew amount is specified? Any suggestions?
Running 0.43 on linux gentoo amd64. thx, des
test signature
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Sat, 2006-03-11 at 10:11 -0800, Douglas Straub wrote:
Hi, I'm a bit confused over how skew is supposed to function. When I perform a horizontal skew of 20px on a 100x100px rectangle, I get a bounding box of 120x100px, with the top shifted right 10px, and the bottom shifted left 10px.
But when I perform a horizontal skew of 20px on a 100x64px rectangle, I get a bounding box of 112.8x64px.
12.8 = 6.4.x2?
Why does the height affect the amount of horiz skew when horizontal skew amount is specified? Any suggestions?
See (scroll down to skew section):
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/ch06s02.html#Transforms-Transfo...
The skew is calculated assuming a square bounding box, using the longest side to calculate the box. So you take the longest side (100 px) and apply a 20 px skew. This skew is equivalent to a 20% skew. A 20% skew applied to 64 px gives a change in the horizontal bounding box of 12.8 px as you found. This is confusing!
Tav
On 3/11/06, Tavmjong Bah <tavmjong@...206...> wrote:
The skew is calculated assuming a square bounding box, using the longest side to calculate the box. So you take the longest side (100 px) and apply a 20 px skew. This skew is equivalent to a 20% skew. A 20% skew applied to 64 px gives a change in the horizontal bounding box of 12.8 px as you found. This is confusing!
Please upgrade to the latest SVN. What you're describing was true in 0.43 but is fixed now.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
participants (3)
-
bulia byak
-
Douglas Straub
-
Tavmjong Bah