Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
List of Transformation Functions
What are transformation functions?
✍: FYIcenter.com
 SVG supports 5 transformation functions: translate(), rotate(), scale(), skew(), and matrix().
SVG supports 5 transformation functions: translate(), rotate(), scale(), skew(), and matrix().
1. matrix(a, b, c, d, e, f) - Transform the object coordinates by applying a 2-d matrix with the first 4 parameters and followed by a 2-d translation with the last 2 parameter:
x' = a*x + b*y + e y' = b*y + d*y + f
2. rotate(d, cx, cy) - Transform the object coordinates by rotating them around (cx,cy) for d degree clockwise:
x' = (x-cx)*cos(d*PI/180) - (y-cy)*sin(d*PI/180) + cx y' = (x-cx)*sin(d*PI/180) + (y-cy)*cos(d*PI/180) + cy
3. scale(sx, sy) - Transform the object coordinates by scaling x with sx and y with sy:
x' = sx*x y' = sy*y
4. skewX(d) - Transform the object coordinates by pushing the y-axis d degree:
x' = x + y*tan(d*PI/180) y' = y
5. skewY(d) - Transform the object coordinates by pushing the x-axis d degree:
x' = x y' = x*tan(d*PI/180) + y
6. translate(dx, dy) - Transform the object coordinates by moving the origin to the given location:
x' = x + dx y' = y + dy
⇒ SVG (Scalable Vector Graphics)
⇐ Transform Group of Objects Using "g"
2023-08-03, 824🔥, 0💬
Popular Posts:
Why am I not seeing the "Call Forwarding" option on Skype for Business on Windows? You don't see the...
What is Microsoft Teams? Microsoft Teams is a Microsoft cloud service that combines workplace chat, ...
What is "Microsoft SharePoint Server Colleague Import Add-in" COM Add-in in Outlook 2013? Should I d...
What is "OneNote Notes about Word Documents" add-in in Microsoft Word? Should I disable it? "OneNote...
How to open firewall for the FTP command-line tool on Windows for data connections in active mode? I...