Forgot password
 Register account
View 113|Reply 1

PDF和SVG的对比

[Copy link]

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2024-8-23 23:08 |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

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2024-8-23 23:14
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.

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 06:01 GMT+8

Powered by Discuz!

Processed in 0.020778 seconds, 22 queries