[pstricks] Gradient & rotation

Pedro Jorge Caridade caridade at qta.qui.uc.pt
Wed Nov 19 18:43:20 CET 2003


Hi
When I doing some figure, I've come out with a strange effect (maybe a
feature). Doing some psframe with a gradient and doing a rotation after
with rput I don't get what it should be. See the example

\documentclass[a4paper]{article}
\usepackage{pst-all}
\begin{document}  
\newcommand{\test}{\psframe[linestyle=none,fillstyle=gradient,%
gradbegin=black,gradangle=90,gradend=white,gradmidpoint=0.5](-0.2,0)(0.2,4)}
\rput{0}{\test}\qquad
\rput{45}{\test}
\end{document}

The second is what I need but with the gradient of the first
Pedro 



More information about the PSTricks mailing list