[pstricks] cornersize=absolute, linearc=const -> different radius

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Dec 19 15:54:35 CET 2010


Am 19.12.2010 11:52, schrieb Marco Daniel:

> in the following example you can see different calculated corners. Can I
> change it?

the both needs the same dimen setting. When using \psline or in this
case \pspolygon, only dimen=middle makes sense and for the two frames
you can choose what you want, but for both the same.

Herbert



> \setcounter{errorcontextlines}{100}
> \documentclass[11pt]{scrartcl}
> \usepackage{pstricks-add}
> 
> 
> 
> \begin{document}
> \begin{pspicture}(14,5)
> \psset{cornersize=absolute,linearc=50pt}
> \psline[fillstyle=solid,fillcolor=green,linestyle=solid,linecolor=green,linewidth=0.2,dimen=outer,](1,1)(13,1)(13,5)(1,5)(1,1)
> 
> \psframe[linecolor=black,linewidth=0.1cm,linestyle=solid,dimen=inner](0.9,0.9)(13.1,5.1)
> 
> \end{pspicture}
> 
> \begin{pspicture}(14,5)
> \psset{cornersize=absolute,linearc=50pt}
> \psframe[fillstyle=solid,fillcolor=green,linestyle=solid,linecolor=green,linewidth=0.2,dimen=outer](1,1)(13,5)
> 
> \psframe[linecolor=black,linewidth=0.1cm,linestyle=solid,](0.9,0.9)(13.1,5.1)
> 
> \end{pspicture}
> 
> \end{document}
> 
> regards
> Marco
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
> 



More information about the PSTricks mailing list