/[libvob]/libvob/vob/demo/irregu.py
ViewVC logotype

Diff of /libvob/vob/demo/irregu.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jvk, Mon Apr 14 13:44:02 2003 UTC revision 1.3 by tjl, Fri Jun 6 20:04:21 2003 UTC
# Line 118  class Scene: Line 118  class Scene:
118          pass          pass
119    
120      def scene(self, vs):      def scene(self, vs):
121          putnoc(vs, background((0.1,0.4,0.5)))          vs.put( background((0.1,0.4,0.5)))
   
         #putnoc(vs, getDListNocoords("Translate -1000 -1000 0\nScale 4 4 4\n"))  
   
         #cs2 = vs.coords.affine(0, 10, self.x1, self.y1, self.xs, 0, 0, self.ys)  
122    
123          cs2 = vs.coords.affine(          cs2 = vs.coords.affine(
124              0, 0, self.x1, self.y1,              0, 0, self.x1, self.y1,
# Line 131  class Scene: Line 127  class Scene:
127    
128          vs.matcher.add(cs2, "2")          vs.matcher.add(cs2, "2")
129    
         #if self.type == "square":  
130          cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 )          cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 )
131          vs.matcher.add(cs2, "2box")          vs.matcher.add(cs2, "2box")
132                            
# Line 147  class Scene: Line 142  class Scene:
142    
143          if self.distort:          if self.distort:
144              cs1 = cs1_d              cs1 = cs1_d
         #vs.map.put(self.mask, cs2)  
145    
146          if self.mode & 4:          if self.mode & 4:
147              vs.map.put(self.mask, cs1)              vs.map.put(self.mask, cs1)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26