[pstricks] funny behaviour of pstArcOAB

Doris Wagner doris.wagner at mac.com
Sat Sep 27 10:39:57 CEST 2008


hi all,

please look at the much more funny behaviour of \pstRotation and the  
still wrong beahaviour of \pstArcnOAB in the following code, where I  
changed all the dotnode-definitions to pnode:

\documentclass{beamer}
\usepackage{pstricks,pst-eucl}\usepackage{pstricks-add}
\pagestyle{empty}

\begin{document}
\psset{unit=.7cm}
\psset{linecolor=gray}
\begin{frame}
\onslide<+->{%
\begin{pspicture*}(12,13)
\psgrid[subgriddiv=0,gridwidth=.3pt]
%
%				construction so far:
%
\pnode(3.5,6){A}\pnode(8.5,6){B}
\psdots(A)(B)
\uput{.3}[dl]{0}(A){$A$}
\pstInterCC 
[PointNameA=none,PointNameB=none,PointSymbolA=*,PointSymbolB=none,
RadiusA=\pstDistVal{3},RadiusB=\pstDistVal{4}]%
{A}{ }{B}{ }{C}{X}
\pspolygon[fillstyle=solid,fillcolor=lightgray,showpoints=true](A)(B)(C)
\pspolygon[showpoints=true,linecolor=black](A)(B)(C)
\pstInterLC 
[PointNameA=none,PointNameB=none,PointSymbolA=none,PointSymbolB=*]%
{B}{C}{C}{A}{U}{D}
\pstInterCC 
[PointNameA=none,PointNameB=none,PointSymbolA=none,PointSymbolB=none,
RadiusA=\pstDistVal{4},RadiusB=\pstDistVal{3}]%
{A}{ }{B}{ }{Z}{Y}
\pstInterLC 
[PointNameA=none,PointNameB=none,PointSymbolA=*,PointSymbolB=none]%
{A}{Y}{A}{C}{E}{V}
\psline(A)(E)(D)(C)
\pnode([nodesep=5]E){F}
\psline[showpoints=true](E)(F)
\pspolygon[linewidth=1.2pt,linecolor=black,showpoints=true](A)(B)(F)(E)
\pnode(3.5,1){G}
\pnode([offset=-5]C){H}
\psdots(G)(H)
%
%
%				now the arcs which have the wrong center:
%
\pstCircleOA{A}{B}%this one behaves ok!!!!!!!!!!!
\pstArcOAB[linewidth=2pt]{A}{G}{B}
\pstArcnOAB[linestyle=dashed,linecolor=blue,arrowscale=2,arrows=->]{A} 
{E}{C}
\pspolygon[linecolor=blue,linewidth=1.2pt](A)(C)(H)(G)%parallelogramm  
in blau
%
%even more funny: half of the codefig is where it should, the other  
half is not
\pstRotation[RotAngle=-90,CodeFig=true]{A}{C}[H]

}%
\end{pspicture*}\end{frame}\end{document}




More information about the PSTricks mailing list