Logo Search packages:      
Sourcecode: jokosher version File versions  Download package

def EventViewer::EventViewer::pixxFromSec (   self,
  sec 
)

Converts seconds to an X pixel position in the waveform

Definition at line 669 of file EventViewer.py.

00669                                 :
            """Converts seconds to an X pixel position in the waveform"""
            return round(float(sec) / self.event.duration * self.allocation.width)
      
      #_____________________________________________________________________
      
      def secFromPixx(self,pixx):


Generated by  Doxygen 1.6.0   Back to index