\curveto

Denis Girou Denis.Girou at idris.fr
Mon May 8 22:48:43 CEST 2000


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

>>>>> "Jacek.Pliszka" == Jacek Pliszka <Jacek.Pliszka at fuw.edu.pl> writes:

    Jacek.Pliszka> I copied the new pstricks.tex to replace one I got with Red Hat 6.2.

    Jacek.Pliszka> I got problem with the following code:

    Jacek.Pliszka> \pscustom{
    Jacek.Pliszka> \newpath
    Jacek.Pliszka> \moveto(2.600000,11.750000)
    Jacek.Pliszka> \curveto(2.663738,11.431311)(2.899077,11.146943)(3.070679,11.181263)
    Jacek.Pliszka> \curveto(3.242280,11.215584)(3.350144,11.568593)(3.286406,11.887281)
    Jacek.Pliszka> \curveto(3.222669,12.205970)(2.987329,12.490338)(2.815728,12.456018)
    Jacek.Pliszka> \curveto(2.644126,12.421698)(2.536262,12.068689)(2.600000,11.750000)
    Jacek.Pliszka> \fill}

    Jacek.Pliszka> The "oval" is plotted but it is not filled.

    Jacek.Pliszka> Could somebody with proper installation of pstricks try it?

    Jacek.Pliszka> I am afraid of installing pstricks onto my LaTeX because if I cause any
    Jacek.Pliszka> problem I would not know if this a real problem or just my lame
    Jacek.Pliszka> installation.

  Your oval is filled, but with nothing, as default fill style is none.
Check documentation pages 27 et 37.

\documentclass[a4paper]{article}

\usepackage{pstricks}

\begin{document}

\psset{unit=3,subgriddiv=0}

\begin{pspicture}(2,11)(4,13)\psgrid
  \pscustom{%
%  \newpath
  \moveto(2.600000,11.750000)
  \curveto(2.663738,11.431311)(2.899077,11.146943)(3.070679,11.181263)
  \curveto(3.242280,11.215584)(3.350144,11.568593)(3.286406,11.887281)
  \curveto(3.222669,12.205970)(2.987329,12.490338)(2.815728,12.456018)
  \curveto(2.644126,12.421698)(2.536262,12.068689)(2.600000,11.750000)
  \fill[fillstyle=solid,fillcolor=red]}
\end{pspicture}

\end{document}

D.G.

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list