Is there a way to define a TikZ shape using TikZ code rather than PGF? I'd like to have a gear shape (and some others) that I can use as a node and add text to it, have arrows go in and out of it, etc, just as one can with predefined tikz node shapes. Now, there's a nice example of drawing a gear with TikZ in https://tex.stackexchange.com/a/58735/29445, but I have no idea how I could turn that into a node shape. Creating node shapes (and some other answers) simply suggest using PGF -- however, since I'm just starting out with TikZ, I'd rather not learn another set of commands (especially since PGF seems kind of low-level to me).

Essentially, my question is: is there any shortcut? Or do I simply have to know PGF in order to use TikZ?

closed as too broad by Paul Gessler, Svend Tveskæg, yo', Jesse, ChrisS Feb 9 '15 at 2:32

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • There is no short-cut. Though, the linked example of a gear is relatively simple to implement in PGF. The biggest problem will be the anchorborder which is needed for arbitrary angular anchors. – Qrrbrbirlbel Aug 7 '13 at 16:01
  • @Qrrbrbirlbel Care to write an answer? – cfr Jan 3 '15 at 22:24

Browse other questions tagged or ask your own question.