1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_rendering_AnimationRepeat_idl__
20 #define __com_sun_star_rendering_AnimationRepeat_idl__
22 module com
{ module sun
{ module star
{ module rendering
{
24 /** This are the possible repeat modes for animations.<p>
26 These constants determine how the [0,1] parameter range of the
27 animation is driven through, thus defining the possible repeat
32 constants AnimationRepeat
34 /** The [0,1] parameter range is swept through exactly once.<p>
36 The [0,1] parameter range is swept through exactly once,
37 starting with 0 and ending with 1.<p>
39 const byte ONE_SHOT
=0;
42 /** The [0,1] parameter range is swept through exactly twice.<p>
44 The [0,1] parameter range is swept through exactly twice,
45 starting with 0, going to 1, and going back to 0. When
46 plotting the value over time, this yields a triangle curve.<p>
48 const byte ONE_SHOT_PINGPONG
=1;
51 /** The [0,1] parameter range is swept through infinitely.<p>
53 The [0,1] parameter range is swept through infinitely,
54 starting with 0, going to 1, and going back to 0, and then
55 starting again. When plotting the value over time, this yields
56 a repeated triangle curve.<p>
58 const byte PINGPONG
=2;
61 /** The [0,1] parameter range is swept through infinitely.<p>
63 The [0,1] parameter range is swept through infinitely,
64 starting with 0, going to 1, and starting with 0 again. When
65 plotting the value over time, this yields a repeated saw-tooth
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */