/[gzz]/gzz/gfx/libutil/effects.py
ViewVC logotype

Diff of /gzz/gfx/libutil/effects.py

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

revision 1.19 by tjl, Sun Oct 20 09:33:17 2002 UTC revision 1.20 by tjl, Sat Nov 2 13:17:06 2002 UTC
# Line 3  from gzz.vob.buoy import Buoy3Floater, B Line 3  from gzz.vob.buoy import Buoy3Floater, B
3  import math  import math
4    
5    
 class CircleFloater4(Buoy4Floater):  
     def __init__(self, vs, parent, center, radius, p):  
         self.__dict__.update(locals())  
     def buoyCoordsys(self, anchorCS, key):  
         cs = self.vs.coords.buoyOnCircle(  
             self.parent, anchorCS,  
             self.center[0], self.center[1],  
             self.radius,  
             self.p[0], self.p[1],  
                 1)  
         self.vs.matcher.add(cs, key)  
         return cs  
     def addCentralBuoy(self, key):  
         cs = self.vs.coords.affineCoordsys(  
             self.parent, 0, self.center[0], self.center[1],  
                 1, 0, 0, 1)  
         self.vs.matcher.add(cs, key)  
         return cs  
     def finishFloating(self):  
         pass  
   
   
6  class IrreguFrame:  class IrreguFrame:
7      dicefactor = 0.8      dicefactor = 0.8
8    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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