<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Herbert Voss a &eacute;crit&nbsp;:
<blockquote cite="mid45B3F047.2020100@zedat.fu-berlin.de" type="cite">
  <pre wrap="">Arnaud BLOUIN schrieb:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,
I have just remark that when you add a shadow to a frame, an ellipse, 
..., the shape is automatically filled ; but when you add a shadow to a 
psbezier it is not the case. Is it possible to homogenize that (I would 
want that all the figures have the same behaviour as the psbezier)?

\begin{pspicture}(0,-1)(7,5)\psgrid
\psframe[shadow=true](1,1)(3, 3)
\psellipse[shadow=true](4,1)(1,1.5)
\psbezier[shadow=true](0.5,0.7)(2.1,1)(6.9,3.5)(6.6,4.5)
\end{pspicture}
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->at first, a shadow to a _line_ doesn't really make sense!

The shadow is build  as a copy of the current path, which
is filled and then used as an underlying overlay to the original
closed path whith the difference of psk@shadowsize. This is
the _same behaviour_ for all objects. A line cannot be filled, the
reason why you cannot get what you might expect to see.

Herbert

  </pre>
</blockquote>
Who spoke about a line? I'm speaking about a B&eacute;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, ...<br>
When you have several joined-lines, this new shape is no more a line
but an open polygon, as shown in the following example:<br>
<br>
\begin{pspicture}(-1,-3)(12,2)\psgrid<br>
\psline[shadow=true](0,-2)(0,1.7)(3,1.6)(3,-1.6)<br>
\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)<br>
\pspolygon[shadow=true](8,-2)(8,1.7)(11,1.6)(11,-1.6)<br>
\end{pspicture} <br>
<br>
Arnaud<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>