left up right
Transformation Example
Defined on 300 x 200 coordinate system x increases across the page, y down the page translate: 100 in x, -20 in y <g transform = "translate(100, -20)" > <path d="M 0 112c40 48 120-32 160-6 ... z"/> Scale 1.2 in x and 0.5 in y <g transform = "scale(1.2, 0.5)"> <path d="M 0 112c40 48 120-32 160-6 ... z"/> rotate: -15 degrees about the origin <g transform = "rotate(-15)" > <path d="M 0 112c40 48 120-32 160-6 ... z"/>