This section explains the “quick” commands of PGF. These commands are executed more quickly than the normal commands of PGF, but offer less functionality. You should use these commands only if you either have a very large number of commands that need to be processed or if you expect your commands to be executed very often.
The difference between the quick and the normal path commands is that the quick path commands
However, they do use the soft-path subsystem (see Section 34 for details), which allows you to mix quick and normal path commands arbitrarily.
All quick path construction commands start with \pgfpathq.
Either starts a path or starts a new part of a path at the coordinate (<x dimension>,<y dimension>). The coordinate is not transformed by the current coordinate transformation matrix. However, any low-level transformations apply.
|
The quick version of the line-to operation.
The quick version of the curve-to operation. The first support point is (sx1,sy1), the second support point is (sx2,sy2), and the target is (tx,ty).
|
Adds a radius around the origin of the given <radius>. This command is orders of magnitude faster than \pgfcircle{\pgfpointorigin}{<radius>}.
|
The quick path usage commands perform similar tasks as \pgfusepath, but they
Note that you have to use the quick versions in the code of arrow tip definitions since, inside these definition, you obviously do not want arrows to be drawn.
Strokes the path without further ado. No arrows are drawn, no corners are arced.
|
Fills the path without further ado.
Fills and then strokes the path without further ado.
Clips all subsequent drawings against the current path. The path is not processed.
This command inserts a TEX box into a {pgfpicture} by “escaping” to TEX, inserting the box number <box number> at the origin, and then returning to the typesetting the picture.
This command works similarly to the \pgfqbox command. However, before inserting the text in <box number>, the current coordinate transformation matrix is applied to the current canvas transformation matrix (is it “synced” with this matrix, hence the name).
Thus, this command basically has the same effect as if you first called \pgflowlevelsynccm followed by \pgfqbox. However, this command will use \hskip and \raise commands for the “translational part” of the coordinate transformation matrix, instead of adding the translational part to the current canvas transformation matrix directly. Both methods have the same effect (box <box number> is translated where it should), but the method used by \pgfqboxsynced ensures that hyperlinks are placed correctly. Note that scaling and rotation will not (cannot, even) apply to hyperlinks.