completed text properties implementation - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/examples/graphics.lua
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月06日 10:52:32 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月06日 10:52:32 +0200
commit3ad2c65d1580f0b28033b733a728347e0f81e5f7 (patch)
tree38ff96ffa3536d5a3358db6c3395b374b54807f6 /examples/graphics.lua
parent2dd683d5721fbd9d740feacf90caee564752696c (diff)
downloadgsl-shell-3ad2c65d1580f0b28033b733a728347e0f81e5f7.tar.gz
completed text properties implementation
Diffstat (limited to 'examples/graphics.lua')
-rw-r--r--examples/graphics.lua 7
1 files changed, 4 insertions, 3 deletions
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'
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月19日 18:21:23 +0000

AltStyle によって変換されたページ (->オリジナル) /