19 |
putnoc(vs, background(self.bgcolor)) |
putnoc(vs, background(self.bgcolor)) |
20 |
|
|
21 |
cs_home = vs.coords.affineCoordsys(0,0, |
cs_home = vs.coords.affineCoordsys(0,0, |
22 |
w/2 + self.tx*self.scale, |
w/2 + self.tx*self.scale, |
23 |
h/2 + self.ty*self.scale, |
h/2 + self.ty*self.scale, |
24 |
w*self.scale, 0,0, h*self.scale); |
w*self.scale, 0,0, h*self.scale); |
25 |
vs.matcher.add(cs_home, "cs_koti") |
vs.matcher.add(cs_home, "cs_koti") |
26 |
|
|
27 |
|
|
28 |
|
|
29 |
# these don't efect |
# these don't efect |
30 |
gzz.vob.CalendarVob.setStatics(style_date, style_n, 3) |
gzz.vob.CalendarVob.setStatics(style_date, style_n, 3) |
31 |
|
|
36 |
for i in range(1, 13): |
for i in range(1, 13): |
37 |
cs_cal = vs.coords.affineCoordsys(cs_home , 0, 0 , i*9, 1,0,0,1) |
cs_cal = vs.coords.affineCoordsys(cs_home , 0, 0 , i*9, 1,0,0,1) |
38 |
vs.matcher.add(cs_cal, "cs_cal"+str(i)) |
vs.matcher.add(cs_cal, "cs_cal"+str(i)) |
39 |
vs.map.put(gzz.vob.CalendarVob(2002, i), cs_cal) |
cs_text = vs.coords.affineCoordsys(cs_home, 0, 0, i*9, 1.0, 0, 0, 1.0) |
40 |
|
vs.matcher.add(cs_text, "cs_text"+str(i)) |
41 |
|
vs.map.put(gzz.vob.CalendarVob(2002, i), cs_cal, cs_text) |
42 |
|
|
43 |
|
|
44 |
# one test vob |
# one test vob |