[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/demo/nic stencil.py
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/gfx/demo/nic stencil.py |
Date: |
Fri, 13 Sep 2002 14:33:15 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/09/13 14:33:15
Modified files:
gfx/demo/nic : stencil.py
Log message:
First test step
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/nic/stencil.py.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gzz/gfx/demo/nic/stencil.py
diff -c gzz/gfx/demo/nic/stencil.py:1.3 gzz/gfx/demo/nic/stencil.py:1.4
*** gzz/gfx/demo/nic/stencil.py:1.3 Fri Sep 13 14:29:02 2002
--- gzz/gfx/demo/nic/stencil.py Fri Sep 13 14:33:15 2002
***************
*** 22,32 ****
--- 22,36 ----
outer = vs.coords.coordsys(0, 'o', 1, 10, 10, 50, 20)
inner = vs.coords.coordsys(outer, 'i', 1, 5, 5, 40, 10)
+ outer2 = vs.coords.coordsys(0, 'o2', 1, 100, 10, 50, 20)
+ inner2 = vs.coords.coordsys(outer2, 'i2', 1, 5, 5, 40, 10)
+
rect = RectBgVob()
style = GraphicsAPI.getInstance().getTextStyle("serif", 0, 12)
t = TextVob(style,
"This text is unfortunately NOT shown clippedly clap.")
vs.map.put(rect, outer)
+ vs.map.put(rect, outer2)
Stencil.drawStenciled(vs,
R(lambda vs=vs, inner=inner: vs.map.put(RectBgVob(), inner)),
***************
*** 34,39 ****
None,
R(lambda vs=vs, inner=inner, t=t: vs.map.put(t, inner)), 0
)
! currentScene = StencilBugScene()
\ No newline at end of file
--- 38,45 ----
None,
R(lambda vs=vs, inner=inner, t=t: vs.map.put(t, inner)), 0
)
+ vs.map.put(RectBgVob(), inner2)
+ vs.map.put(t, inner2)
! currentScene = StencilBugScene()