Update documentation related to cylinder shape.
authorEmden R. Gansner <erg@emdenrg.net>
Sat, 13 Feb 2016 19:14:35 +0000 (14:14 -0500)
committerEmden R. Gansner <erg@emdenrg.net>
Sat, 13 Feb 2016 19:14:35 +0000 (14:14 -0500)
lib/common/shapes.c

index c0fcd58b0d5d688d59b29b893cb5a39a2386bb0e..dd2903eba6da34d521139001fd8644ddcb497931 100644 (file)
@@ -4004,6 +4004,10 @@ static boolean star_inside(inside_t * inside_context, pointf p)
     return TRUE;
 }
 
+/* cylinder:
+ * Code based on PostScript version by Brandon Rhodes.
+ * http://rhodesmill.org/brandon/2007/a-database-symbol-for-graphviz/
+ */
 static pointf cylinder_size (pointf sz)
 {
     sz.y *= 1.375;