digiKam
|
Classes | |
class | Private |
Public Types | |
enum | EffectType { None = 0 , KenBurnsZoomIn , KenBurnsZoomOut , KenBurnsPanLR , KenBurnsPanRL , KenBurnsPanTB , KenBurnsPanBT , Random } |
Public Member Functions | |
QImage | currentFrame (int &tmout) |
EffectMngr () | |
void | setEffect (EffectType eff) |
void | setFrames (int ifrms) |
void | setImage (const QImage &img) |
void | setOutputSize (const QSize &size) |
~EffectMngr () | |
Static Public Member Functions | |
static QMap< EffectType, QString > | effectNames () |
See KEn Burns effect description: https://en.wikipedia.org/wiki/Ken_Burns_effect
Enumerator | |
---|---|
None | Static camera. |
KenBurnsZoomIn | |
KenBurnsZoomOut | |
KenBurnsPanLR | |
KenBurnsPanRL | |
KenBurnsPanTB | |
KenBurnsPanBT | |
Random |
|
explicit |
Digikam::EffectMngr::~EffectMngr | ( | ) |
QImage Digikam::EffectMngr::currentFrame | ( | int & | tmout | ) |
|
static |
References KenBurnsPanBT, KenBurnsPanLR, KenBurnsPanRL, KenBurnsPanTB, KenBurnsZoomIn, KenBurnsZoomOut, None, and Random.
void Digikam::EffectMngr::setEffect | ( | EffectType | eff | ) |
void Digikam::EffectMngr::setFrames | ( | int | ifrms | ) |
References Digikam::EffectMngr::Private::eff_imgFrames.
Referenced by Digikam::VidSlideTask::run().
void Digikam::EffectMngr::setImage | ( | const QImage & | img | ) |
References Digikam::EffectMngr::Private::eff_image.
Referenced by Digikam::VidSlideTask::run().
void Digikam::EffectMngr::setOutputSize | ( | const QSize & | size | ) |
References Digikam::EffectMngr::Private::eff_curFrame, and Digikam::EffectMngr::Private::eff_outSize.
Referenced by Digikam::VidSlideTask::run().