[pgf-tikz] Hope to introduce support for "/ShadingType 5" and "/FunctionType 0"

hjiang hjiang at xtu.edu.cn
Wed Nov 6 12:31:52 CET 2024


Hello every one, 
Firstly, I learned from AI that currently pgf doesn't support "/FunctionType 0" sampling function, but this is very useful when drawing tech charts. Can this feature be added?
Secondly, for complex gradients, “/ShadingType 5” is very useful, will pgf have an official implementation for that type of shading in the future? Such as the example in the Adobe manual book of Smooth Shading:
"/inch {72 mul} def
/DeviceRGB setcolorspace
%Define the shading dictionary
<<
/ShadingType 5
/ColorSpace /DeviceRGB
/VerticesPerRow 2
/DataSource [
1 inch 1 inch 1 0 1 %Magenta at bottom left
7 inch 1 inch 0 1 1 %Cyan at bottom right
2 inch 10 inch 0 1 1 %Cyan at top left
8 inch 10 inch 1 0 1 %Magenta at top right
]
shfill
showpage"
best!
hjiang
hjiang at xtu.edu.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/pgf-tikz/attachments/20241106/83a2bc1f/attachment.htm>


More information about the pgf-tikz mailing list.