简单的月亮图形与 pst-intersect 产生不均匀。如何避免这种情况?
\documentclass[pstricks]{standalone}
\usepackage{pst-intersect}
\begin{document}
\psset
{
unit=0.001,
linewidth=0.1pt,
}
\begin{pspicture}(18000,5000)
\pssavepath[linestyle=none]{c1}{\pscircle(2615,1850){500}}
\pssavepath[linestyle=none]{c2}{\pscircle(3085,2100){500}}
% get intersections
\psintersect[name=i]{c1}{c2}
% draw and fill
\pscustom[fillstyle=solid, fillcolor=yellow]{
\pstracecurve[istart=1, istop=2]{i}{c1}
\pstracecurve[istart=2, istop=1]{i}{c2}
}
\end{pspicture}
\end{document}
答案1
使用linejoin
\pscustom[填充样式=实心,填充颜色=黄色,linejoin=2]{
答案2
我无法解释原因,但我通过交换第 22 行和第 23 行解决了这个问题。