[pstricks] Vector or Bitmap??

Jean-Come Charpentier Jean-Come.Charpentier at wanadoo.fr
Sun Nov 14 05:04:43 CET 2004


John Culleton wrote:

>Are the graphic figures produced by PSTricks vectored or bitmapped?
>  
>

Vectored. An example:

\input pstricks
\psline(0,0)(1,1)
\bye

 -> tex -> dvips and the result is:
[many code]
%%Page: 1 1
TeXDict begin 1 0 bop 332 166 a @beginspecial @setspecial
 tx at Dict begin STP newpath 0.8 SLW 0. setgray  /ArrowA { moveto } def
/ArrowB { } def [ 28.45274 28.45274 0.0 0.0  /Lineto /lineto load def
false Line  gsave 0.8 SLW 0. setgray 0 setlinecap stroke  grestore
end
[few code]

You can see the 28.45274 28.42274 0.0 0.0 wich indicate coordonates 
(0,0), and  (1,1).
  1 cm = 1/2.54 cm = 72.27/2.54 pt = 28.45275591... pt
In fact I'm somewhere a bit surprised.  I wait for
  1 cm = 1/2.54cm = 72/2.54 bp = 28.346456... bp
The Postcript unit are bp, isn't it?

  Jean-Côme Charpentier





More information about the PSTricks mailing list