next up previous contents
Next: Old commands Up: Commands Previous: Logos

Picture commands


\qbezier[<N>](<AX>,<AY>)(<BX>,<BY>)(<CX>,<CY>)
\bezier{<N>}(<AX>,<AY>)(<BX>,<BY>)(<CX>,<CY>)

The \qbezier command can be used in picture mode to draw a quadratic Bezier curve from position (<AX>,<AY>) to (<CX>,<CY>) with control point (<BX>,<BY>). The optional argument <N> gives the number of points on the curve.

For example, the diagram:

picture498

is drawn with:

   \begin{picture}(50,50)
      \thicklines
      \qbezier(0,0)(0,50)(50,50)
      \qbezier[20](0,0)(50,0)(50,50)
      \thinlines
      \put(0,0){\line(1,1){50}}
   \end{picture}
The \bezier command is the same, except that the argument <N> is not optional. It is provided for compatibility with the LaTeX 2.09 bezier document style option.



Rainer Schoepf
Thu Jan 8 11:53:27 MET 1998