author | francesco-ST <francesco.abbate@st.com> | 2011年04月12日 17:38:13 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2011年04月12日 17:38:13 +0200 |
commit | ee007875943457a0008d75739106e9c0604ba525 (patch) | |
tree | b34562d38f5582f19ec58eedbc4ce5af27753b60 /graph-init.lua | |
parent | a5a654ca1573131ea54b989eb407417792060804 (diff) | |
download | gsl-shell-ee007875943457a0008d75739106e9c0604ba525.tar.gz |
-rw-r--r-- | graph-init.lua | 2 |
diff --git a/graph-init.lua b/graph-init.lua index 0c6cf8fe..d662dd40 100644 --- a/graph-init.lua +++ b/graph-init.lua @@ -86,7 +86,7 @@ function graph.segment(x1, y1, x2, y2) return p end -function rect(x1, y1, x2, y2) +function graph.rect(x1, y1, x2, y2) local p = graph.path() add_square(p, x1, y1, x2, y2) return p |