[pstricks] pst-slpe

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat May 4 21:15:36 CEST 2013

On 04.05.2013 20:53, Manfred Braun wrote:

> When rotating an object that is shaded by  fillstyle=slpe,  the widths of the shading zones change with the rotation angle, see the minimal example below. Equidistant spacing appears only at angles 0 and 90 degrees. Is this intended? Is it possible to rotate an object keeping exactly the original shading pattern?
> Manfred
> \documentclass{minimal}
> \usepackage{pstricks}
> \usepackage{pst-slpe}
> \begin{document}
> \begin{pspicture}(16,3)
>    \psset{fillstyle=slope, slopebegin=gray, slopeend=white, slopesteps=5}

the width and height of the _surrounding_ box is devided by the
steps. When rotating an object the surrounding box will increase
and also the shaded steps. The first and last are cut by the
rotated rectangle. You have to modify the pro file,
because it knows nothing about the rotating angle. Not
really easy.


More information about the PSTricks mailing list