[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/gfx/demo/nic stencil.py
From: |
Benja Fallenstein |
Subject: |
[Gzz-commits] gzz/gfx/demo/nic stencil.py |
Date: |
Fri, 13 Sep 2002 14:29:02 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Benja Fallenstein <address@hidden> 02/09/13 14:29:02
Modified files:
gfx/demo/nic : stencil.py
Log message:
ok, now works (== shows the bug)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/nic/stencil.py.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
Patches:
Index: gzz/gfx/demo/nic/stencil.py
diff -c gzz/gfx/demo/nic/stencil.py:1.2 gzz/gfx/demo/nic/stencil.py:1.3
*** gzz/gfx/demo/nic/stencil.py:1.2 Fri Sep 13 14:24:25 2002
--- gzz/gfx/demo/nic/stencil.py Fri Sep 13 14:29:02 2002
***************
*** 17,27 ****
def key(self, key): pass
def scene(self, vs):
outer = vs.coords.coordsys(0, 'o', 1, 10, 10, 50, 20)
inner = vs.coords.coordsys(outer, 'i', 1, 5, 5, 40, 10)
rect = RectBgVob()
! style = GraphicsAPI.getTextStyle("serif", 0, 12)
t = TextVob(style,
"This text is unfortunately NOT shown clippedly clap.")
vs.map.put(rect, outer)
--- 17,29 ----
def key(self, key): pass
def scene(self, vs):
+ putnoc(vs, background((1,1,1)))
+
outer = vs.coords.coordsys(0, 'o', 1, 10, 10, 50, 20)
inner = vs.coords.coordsys(outer, 'i', 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)
***************
*** 32,34 ****
--- 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