diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/pst-news14.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/pst-news14.tex | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex index 9707ad4e0d3..64d7d2dada2 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news14.tex @@ -74,6 +74,34 @@ needs some tricky internal commands and may not work in all cases. \end{pspicture} \end{LTXexample} + +\subsection{Option \texttt{correctAngle}} +It now works also for \Lcs{psellipiticwedge}. The setting of \Lkeyword{origin} is needed +if the center of the ellipse is not the origin of the underlying coordinate system. + +\begin{LTXexample}[pos=t] +\begin{pspicture}[dimen=m,showgrid=top](6,4) +\pnodes{P}(3,1)(5,1)(4,2) +\pcline[nodesep=-1](P0)(P1) +\pcline[nodesep=-1](P0)(P2) +\psellipticarc[origin={P0},correctAngle](P0)(2,1){(P2)}{(P1)} +\psellipticwedge[origin={P0},linecolor=red,correctAngle, + fillstyle=vlines](P0)(2,1){(P2)}{(P1)} +\end{pspicture} +\end{LTXexample} + +\begin{LTXexample}[pos=t] +\begin{pspicture}[dimen=m,showgrid=top](-3,-1)(3,3) +\pnodes{P}(0,0)(2,0)(1,1) +\pcline[nodesep=-1](P0)(P1) +\pcline[nodesep=-1](P0)(P2) +\psellipticarc[correctAngle](P0)(2,1){(P2)}{(P1)} +\psellipticwedge[linecolor=red,correctAngle, + fillstyle=vlines](P0)(2,1){(P2)}{(P1)} +\end{pspicture} +\end{LTXexample} + +\clearpage \subsection{New macro \nxLcs{psellipseAB}} \begin{BDef} |