- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Jan 2021 10:26:44 +0000
- To: public-svg-issues@w3.org
I'm struggling to create a good code demonstration for the following but in a few words it seems a bit strange to me to get unitless values in `transform-origin` converted to absolute values in the user coordinate system (`px`), while a unitless value in `translate()` assigned to the `transform` attribute, stay relative to the svg coordinate system. Eg. suppose you have a `svg` whose view box is `0 0 1000 1000` and its size in the user space is `500px, 500px`, and you want to rotate a `path` around one of its point located at `200, 200`, you should use `transform-origin: 100 100` (or `transform-origin: 20% 20%`) instead of `transform-origin: 200 200`. I'm sorry for this late comment. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/svgwg/issues/688#issuecomment-758560609 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 12 January 2021 10:26:46 UTC