XML technologies / SVG / Using complex graphic elements and formatting / Using paths correctly / Creating Bézier curves / The T command
(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)
If you have already drawn a Bézier curve in a path, for example using the Q command, use the T command to draw a second curve whose control point is calculated symmetrically to the previous line’s control point. The syntax is:
T x y
The following figure shows two Bézier curves in one path. The first is defined with the Q command, the second with the T command.
Figure: Bézier curve created with the Q and T commands.
Note:
The graphic marks the end of the first curve and beginning of the second. The guide lines to the calculated control point are lighter than those to the first curve’s defined control point.
Copyright © verlag moderne industrie GmbH 2001
You may print the online version for your private use.
Otherwise, this chapter from “Das Einsteigerseminar SVG — Webgrafiken mit XML” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
verlag moderne industrie GmbH, Justus-von-Liebig-Straße 1, D-86899 Landsberg/Lech, fon ++49 (0) 81 91 / 125 – 0, leserservice(at)mi-verlag.de
back to top