[pstricks] shadow and psbezier

Herbert Voss LaTeX at zedat.fu-berlin.de
Mon Jan 22 14:19:28 CET 2007


Arnaud BLOUIN schrieb:
> Who spoke about a line? I'm speaking about a Bézier curve ; moreover a
> shadow to a line doesn't really make sense?! That's new! And why not?
> A line is a shape like an ellipse, a circle, ...
> When you have several joined-lines, this new shape is no more a line
> but an open polygon, as shown in the following example:
>
> \begin{pspicture}(-1,-3)(12,2)\psgrid
> \psline[shadow=true](0,-2)(0,1.7)(3,1.6)(3,-1.6)
> \psbezier[shadow=true](6,-2)(7.4,-1.4)(7.33,0.7)(6.6,1.4)(6,2)(5,2)(4.6,1.3)(4,0.6)(3.5,-1.4)(4,-2)
>
> \pspolygon[shadow=true](8,-2)(8,1.7)(11,1.6)(11,-1.6)
> \end{pspicture}

Arnaud,
everything which is isn't a closed shape is a line or curve and cannot be
shaded. \pspolygon is _by default_ a closed line, just like psccurve.
Both can have a shadow, but not an open line/curve, like \psbezier
or \psline or \psecurve or ...

Herbert



More information about the PSTricks mailing list