Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / animations / AnimationCalcMode.idl
blob9b084c0689adba46a263504da612cf013665cc96
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_animations_AnimationCalcMode_idl__
29 #define __com_sun_star_animations_AnimationCalcMode_idl__
31 //=============================================================================
33 module com { module sun { module star { module animations {
35 //=============================================================================
37 /** Specifies the interpolation mode for the animation.
39 @see <type>XAnimation</type>
40 @see http://www.w3.org/TR/smil20/animation.html#adef-calcMode
41 @see http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode
43 constants AnimationCalcMode
45 /** This specifies that the animation function will jump from one value to the next without any interpolation.
47 const short DISCRETE = 0;
49 /** Simple linear interpolation between values is used to calculate the animation function.
50 <br>
51 This is the default.
53 const short LINEAR = 1;
55 /** Defines interpolation to produce an even pace of change across the animation.
56 <br>
57 This is only supported for values that define a linear numeric range, and
58 for which some notion of "distance" between points can be calculated
59 (e.g. position, width, height, etc.).
61 const short PACED = 2;
63 /** Interpolates from one value in the values list to the next according to a
64 time function defined by a cubic Bezier spline. The points of the spline are
65 defined in the <member>KeyTimes</member> attribute, and the control points
66 for each interval are defined in the <member>KeySplines</member> attribute.
68 const short SPLINE = 3;
71 //=============================================================================
73 }; }; }; };
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */