The following figure shows the problem. The corners that are magnified should be smooth (not smooth defined in mathematics).
I have changed liftpen
from 0
to 2
, but the problem still exists.
How to smooth the corners?
\documentclass{article}
\usepackage{pstricks-add}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{pspicture}
\PreviewBorder=15pt
\psset{unit=1.5cm}
\begin{document}
\begin{pspicture}[showgrid=false](-7,-5)(7,5)
\psellipse[fillstyle=solid,opacity=0.75,fillcolor=yellow](0,0)(7.0,4.3)
\psellipse[linewidth=0.5,dimen=middle](0,0)(6.5,3.8)
\def\left{
\pscustom*[fillstyle=solid,linewidth=0.1]{
\psline(0,2.7)(0.5,2.7)(1,3.25)
\psbezier(1.2,1.3)(1.3,1.0)(2.0,1.0)
\psbezier(3.0,1.0)(3.0,2.2)(2,3.1)
% How to smooth the corner between the previous path and the next path?
\psellipticarcn(0,0)(6.0,3.3){!3.1 2 atan}{!-2.8 3.2 atan}
\psbezier(4,-2)(4,0)(2.2,-1.8)
\psbezier(1.5,-1)(1,-1)(0,-3.2)
}}\left
\psscalebox{-1 1}{\left}
\end{pspicture}
\end{document}
linejoin=1
?\psbezier
and the beginnung of\psellipticarc
is connected by a line!\psbezier
needs four points. Only in\pscustom
the first one is the current point.\psbezier
is inside the elliptic arc, the reason why you always have to connect the points.