The following gives an error with PGF 2.00:
\begin{tikzpicture}
\draw (0,0) to +(1,1);
\end{tikzpicture}
I could swear that this worked once with a different version, but I don't know which. The problem seems to be that the target coordinate of a "to" path must begin with a parenthesis. But drawing "to" paths to a relative coordinate is a really useful thing to be able to do! Is there any way around this? The only one I've thought of so far is to use the "calc" package instead:
\begin{tikzpicture}
\draw (0,0) to ($(0,0)+(1,1)$);
\end{tikzpicture}
but this quickly gets cumbersome, especially with a path of several segments using ++ relative coordinates in the middle.
Edit: Yes, of course in this simple example I could replace to
with --
, but the point is that I want to use other to
paths, specifically curve to
.
Edit: Here's a more complicated thing I'd like to be able to do:
\begin{tikzpicture}
\filldraw[fill=gray] (0,0) to[out=20,in=180] ++(2,1)
to[out=0,in=160] ++(2,-1) -- cycle;
\end{tikzpicture}