Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们基本上使用 Inkscape 作为创建 SVG 的一种方式。完成后,我们将 SVG 作为 XML 文件打开并提取路径(d 属性)。
但是我注意到,如果我们调整/拉伸整个图形(单个组中的所有路径)的大小/拉伸,路径本身将保持不变。XML 中发生的所有事情是 Inkscape 正在对 g 节点容器应用转换。
有没有办法使拉伸适用于各个路径?
答案很简单:删除分组。这将删除 g 节点,并将任何拉伸应用于每个单独的路径。