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

double Gui::KTimeLine::mapValueToLocal ( double  value  )  const

Takes the value that we wish to find the coordinate for, and returns the x coordinate. In cases where a single value covers multiple pixels, the left-most pixel is returned.

Takes the value that we wish to find the coordinate for, and returns the x coordinate. In cases where a single value covers multiple pixels, the left-most pixel is returned.

Definition at line 244 of file ktimeline.cpp.

Referenced by autoScroll(), Gui::KTrackPlacer::drawToBackBuffer(), Gui::KClipPlacer::drawToBackBuffer(), TrackPanelClipResizeFunction::getMouseCursor(), TrackPanelKeyFrameFunction::mouseApplies(), TrackPanelClipRollFunction::mouseApplies(), TrackPanelClipResizeFunction::mouseApplies(), TrackPanelClipRollFunction::mousePressed(), TrackPanelClipResizeFunction::mousePressed(), TrackPanelMarkerFunction::mouseReleased(), Gui::TrackViewTransitionDecorator::paintClip(), Gui::TrackViewNameDecorator::paintClip(), and setTimeScale().

                                                              {
      return m_ruler->mapValueToLocal(value);
    } 


Generated by  Doxygen 1.6.0   Back to index