summaryrefslogtreecommitdiffstats
path: root/kpdf/core/pagetransition.cpp
blob: 41d743c675c62baa1899531a0255cbf4841790eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/***************************************************************************
 *   Copyright (C) 2005 by Tobias Koenig <tokoe@kde.org>                   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

// local includes
#include "pagetransition.h"

/** class KPDFPageTransition **/

KPDFPageTransition::KPDFPageTransition( Type type )
  : m_type( type ),
    m_duration( 1 ),
    m_tqalignment(Horizontal ),
    m_direction( Inward ),
    m_angle( 0 ),
    m_scale( 1.0 ),
    m_rectangular( false )
{
}

KPDFPageTransition::~KPDFPageTransition()
{
}