projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9d461
)
Update documentation related to cylinder shape.
author
Emden R. Gansner
<erg@emdenrg.net>
Sat, 13 Feb 2016 19:14:35 +0000
(14:14 -0500)
committer
Emden R. Gansner
<erg@emdenrg.net>
Sat, 13 Feb 2016 19:14:35 +0000
(14:14 -0500)
lib/common/shapes.c
patch
|
blob
|
history
diff --git
a/lib/common/shapes.c
b/lib/common/shapes.c
index c0fcd58b0d5d688d59b29b893cb5a39a2386bb0e..dd2903eba6da34d521139001fd8644ddcb497931 100644
(file)
--- a/
lib/common/shapes.c
+++ b/
lib/common/shapes.c
@@
-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;