author | francesco-ST <francesco.abbate@st.com> | 2010年08月06日 10:52:32 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年08月06日 10:52:32 +0200 |
commit | 3ad2c65d1580f0b28033b733a728347e0f81e5f7 (patch) | |
tree | 38ff96ffa3536d5a3358db6c3395b374b54807f6 /examples/graphics.lua | |
parent | 2dd683d5721fbd9d740feacf90caee564752696c (diff) | |
download | gsl-shell-3ad2c65d1580f0b28033b733a728347e0f81e5f7.tar.gz |
-rw-r--r-- | examples/graphics.lua | 7 |
diff --git a/examples/graphics.lua b/examples/graphics.lua index f813858f..e1f4ef44 100644 --- a/examples/graphics.lua +++ b/examples/graphics.lua @@ -50,7 +50,7 @@ function demo1() local a = path() local n = 12 local t = {{}, {{'curve'}}, {{'stroke'}, {'curve'}}, - {{'stroke'}, {'dash'}, {'curve'}}} + {{'stroke'}, {'dash', 6, 3}, {'curve'}}} local color = {'red', 'yellow', 'blue', 'darkgreen', 'cyan'} local p = plot() local R = 120 @@ -109,5 +109,6 @@ function demo3() return p end -p1 = demo1() -p2 = demo2() +print 'demo1() - path objects with bezier segments and various transformations' +print 'demo2() - example of text object utilisation' +print 'demo3() - example of animation with window and text object' |