![简单的月亮图形与 pst-intersect 给出不均匀](https://linux22.com/image/453987/%E7%AE%80%E5%8D%95%E7%9A%84%E6%9C%88%E4%BA%AE%E5%9B%BE%E5%BD%A2%E4%B8%8E%20pst-intersect%20%E7%BB%99%E5%87%BA%E4%B8%8D%E5%9D%87%E5%8C%80.png)
简单的月亮图形与 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 行解决了这个问题。