[pstricks] \pspolygon and dimen=inner

Adam Fenn acwfenn at hotmail.com
Sun Feb 5 13:30:43 CET 2006


>>The graphics parameter dimen=inner may be used with \psframe, \pscircle, 
>>\psellipse and
>>\pswedge. Can the same effect be created for \pspolygon?

 >no, because it makes no sense. What is inner and outer
 >when you have crossed lines, e.g. drawing an eight.

None of my polygons have crossing lines, so they do enclose 'inner' space.

A very simple example

\pspicture(4,4)
  \pspolygon(1,1)(1,4)(2,3)(3,4)(4,2)
\endpspicture

If it is not possible to use dimen=inner is there some other way of gaining 
the same effect?

Adam Fenn





More information about the PSTricks mailing list