Logo Search packages:      
Sourcecode: kdenlive version File versions

void Gui::KClipPlacer::drawToBackBuffer ( QPainter &  painter,
QRect &  rect,
TrackViewDecorator decorator 
) [virtual]

Paints the backbuffer into the relevant place using the painter supplied. The track should be drawn into the area provided in area

Implements Gui::KPlacer.

Definition at line 31 of file kclipplacer.cpp.

References Gui::KTimeLine::mapValueToLocal(), and Gui::TrackViewDecorator::paintClip().

                                      {
      double sx = m_timeline->mapValueToLocal(0);
      double ex =
          m_timeline->mapValueToLocal(m_clip->cropDuration().
          frames(m_clip->framesPerSecond()));
      decorator->paintClip(sx, ex, painter, m_clip, rect, false);
    }


Generated by  Doxygen 1.6.0   Back to index