Warning, /graphics/tikzkit/texamples/bezier.tex is written in an unsupported language. File is not indexed.

0001 \documentclass[a4paper,10pt]{article}
0002 \usepackage[utf8]{inputenc}
0003 \usepackage[pdftex,active,tightpage]{preview}
0004 \usepackage{tikz}
0005 \PreviewEnvironment{tikzpicture}
0006 
0007 \begin{document}
0008 \thispagestyle{empty}
0009 \begin{tikzpicture}
0010   \node[draw, circle, fill=yellow] (a) at (0, 0) {a};
0011   \node[draw, circle, fill=blue,minimum size=3cm] (b) at (2, 0) {a};
0012 
0013   \draw[thin] (a) to[bend left=90] (b);
0014   \draw[thin, green, dashed] (a.90) to[bend left=90] (b.90);
0015   \draw[thin, red, dotted] (a.north) to[bend left=90] (b.north);
0016 %   \draw[thin,red, dotted] (a.north) to[bend left=90] (b.north);
0017 %   \draw[thin,blue, dotted] (a.north) to[bend left=90] (b.center);
0018 
0019   \draw[rotate=135] (b.center) -- +(2, 0);
0020 
0021   % tikzlibrarytopaths.code.tex
0022   % looseness = 1 (default)
0023   % factor = 0.3915
0024 \end{tikzpicture}
0025 \end{document}
0026