if I combine \psline
and \pscurve
to create an object and put it into \pscustom
, the object gets deformed. To me it looks like the bezier curve gets some additional boundary conditions due to closing the paths, but I might be completly mistaken there.
This example is part of a bigger scetch (therefore the maybe strange numbers), I tried to scetch a concave lense:
\begin{pspicture}(.2,1)
\pscustom[fillstyle=solid, fillcolor=lightgray, linestyle=dashed]{
\psline(2.9,2.15)(3.1,2.15)
\pscurve(3.1,2.15)(3.03,1.65)(3.1,1.15)
\psline(3.1,1.15)(2.9,1.15)
\pscurve(2.9,1.15)(2.97,1.65)(2.9,2.15)}
\psline(2.9,2.15)(3.1,2.15)
\pscurve(3.1,2.15)(3.03,1.65)(3.1,1.15)
\psline(3.1,1.15)(2.9,1.15)
\pscurve(2.9,1.15)(2.97,1.65)(2.9,2.15)
\end{pspicture}
Doubling and linestyle=dashed
ofc just for demonstration.
Is there anyway to fill the object like I get outside \pscustom
?