SVG/transform/matrix
出自六年制學程
目錄
矩陣基本演算規則
|
| = |
| = |
|
旋轉
|
| = |
| = |
|
縮放
|
| = |
| = |
|
x拉斜
|
| = |
| = |
|
y拉斜
|
| = |
| = |
|
沿經過原點的直線反射
假設(ux, uy)為直線方向的單位向量。變換矩陣為:
|
| = |
| = |
|
沿直線 y=(tanθ)x 進行反射
|
| = |
| = |
|
投影到一條經過原點的直線
SVG transform 矩陣變換
(○)基本
|
| = |
| = |
|