<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Myriad Pro">Hi Martin,<br>
<br>
if you define your object as a polygon, you might get the desired
solution.<br>
Here some inspiration, however i am not quite sure if this leads into
your wnated direction.<br>
<br>
\documentclass{article}<br>
\usepackage{pstricks}<br>
\usepackage{pst-blur}<br>
\usepackage{multido}<br>
<br>
\pagestyle{empty}<br>
<br>
\begin{document}<br>
<br>
\begin{pspicture}(0,0)(4,5)<br>
\pspolygon[linecolor=gray,fillcolor=gray,fillstyle=solid,linewidth=0pt,shadow=true,blur=true,shadowsize=3pt,shadowangle=-55](-0.2,0)(2.2,0)(2.2,0.2)(2,0.2)(2,0.4)(2.2,0.4)(2.2,0.6)(-0.2,0.6)(-0.2,0.4)(0,0.4)(0,0.2)(-0.2,0.2)<br>
\psframe[linecolor=gray,fillcolor=red,fillstyle=solid](0,0)(2,0.6)<br>
\rput(1,0.2){\footnotesize\bfseries\textsf{CPU}}<br>
\end{pspicture}<br>
\end{document} <br>
<br>
Regards,<br>
<br>
Juergen<br>
</font><br>
Martin Röhricht wrote:
<blockquote cite="mid:467C0E19.3040105@wudika.de" type="cite">
<pre wrap="">On 22.06.2007 18:12, Herbert Voss wrote:
</pre>
<blockquote type="cite">
<pre wrap="">[...]
</pre>
</blockquote>
<pre wrap=""><!---->
This is already a wonderful improvement. Thank you very much for all
your help and the time that you invest on other person's problems.
I was curious if it is possible to make the object look a bit more
3-dimensional, e.g. by adding a shadowing (blur) effect to it, such that
all edges are handled as if the object wasn't composed of different
smaller elements rather as if the object was coherent.
If I try the following, the result is not what it is intended to be:
------------------------------8<----------------------------
\documentclass{scrartcl}
\usepackage{pstricks}
\usepackage{pst-blur}
\usepackage{multido}
\pagestyle{empty}
\makeatletter
\def\pstCPU{\pst@object{pstCPU}}
\def\pstCPU@i(#1)#2{{% #1: lower left #2: text
\psset{framearc=0.2,linecolor=gray,fillcolor=gray,fillstyle=solid}%
default
\begin@ClosedObj
\rput[lb](#1){%
\multirput[lb](0,0)(0,0.3){5}{\psline[linewidth=4pt](-0.1,0.2)(1.5,0.2)}
\psframe(1.4,1.6)
\rput(0.7,1.4){\footnotesize\bfseries\textsf{CPU#2}}}
\end@ClosedObj}%
\ignorespaces%
}
\makeatother
\begin{document}
\begin{pspicture}(0,0)(4,5)
\multido{\rA=0+2,\iB=0+1}{2}{\pstCPU[fillcolor=red!50](\rA,3.4){-\iB}}
\psset{shadow=true,blur=true,shadowsize=10pt}
\pstCPU[fillcolor=blue!10,blurradius=5pt](0,0){-X}
\pstCPU[linecolor=black](3,0){-XX}
\end{pspicture}
\end{document}
------------------------------8<----------------------------
I really appreciate any help,
Martin
_______________________________________________
pstricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pstricks@tug.org">pstricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="65">--
jürgen gilg
austr. 59
70376 stuttgart
tel 0711-59 27 88
e-mail <a class="moz-txt-link-abbreviated" href="mailto:gilg@acrotex.net">gilg@acrotex.net</a>
webpage <a class="moz-txt-link-abbreviated" href="http://www.acrotex.net">www.acrotex.net</a>
<a class="moz-txt-link-abbreviated" href="http://www.gilligan-online.de">www.gilligan-online.de</a></pre>
</body>
</html>