[pstricks] pst-poly and \PstPolygon

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Nov 4 16:55:38 CET 2010


Am 04.11.2010 16:03, schrieb mathias legrand:
> 
>> When you write
>>> PolyNbSides=6,PolyOffset=2
>> you are instructing the macro to advance the index by 2 at each step,
>> so you only see 3 of the 6 vertices. More generally, it is useful to use
>> PolyNbSides=m,PolyOffset=n only when m,n are relatively prime.
> 
> I agree with this statement but I think it is legitimate to get a
> 6-vertice star whatever the way you create the star. If PolyOffset
> divides PolyNbSides then a propoer rotation should be added, I think.

The definition is clear: the star is created with _one_
continous line. For n mod offset=0 not all points can
be connected.

However, feel free to extend this definition for such a case,
eg with a option rotatate=true or something else.

Herbert



More information about the PSTricks mailing list