Forgot password?
 Create new account
View 76|Reply 1

PDF和SVG的对比

[Copy link]

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

hbghlyj Posted at 2024-8-23 23:08:42 |Read mode
PDF 支持但 SVG 不支持的 PDF 图形运算符是“路径着色 Path Shading”运算符。此运算符允许在 PDF 文档的路径内创建复杂的渐变填充和图案。另一方面,SVG 没有与此运算符直接等效的运算符。在 SVG 中,可以使用 <linearGradient> 和 <pattern> 元素实现渐变填充和图案,但它们不如 PDF 中的路径着色运算符灵活和强大。

相关帖子:


PDF运算符的参考资料:
pdfa.org/wp-content/uploads/2023/08/PDF-Operators-CheatSheet.pdf
SVG <pattern>的参考资料:
developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern

3147

Threads

8493

Posts

610K

Credits

Credits
66163
QQ

Show all posts

 Author| hbghlyj Posted at 2024-8-23 23:14:25
name sh (PDF 1.3) Paint area defined by a shading pattern. name is the name of a
shading dictionary resource in the Shading subdictionary of the current
resource dictionary.

手机版Mobile version|Leisure Math Forum

2025-4-20 22:23 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list