Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: animations ::
unpublished | constants group AnimationCalcMode |
Usage Restrictions not published Description Specifies the interpolation mode for the animation. See also XAnimation, http://www.w3.org/TR/smil20/animation.html#adef-calcMode, http://www.w3.org/TR/smil20/animation.html#adef-SplineAnimation-calcMode

Constants
DISCRETE | This specifies that the animation function will jump from one value to the next without any interpolation.
LINEAR | Simple linear interpolation between values is used to calculate the animation function. This is the default.
PACED | Defines interpolation to produce an even pace of change across the animation. This is only supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g. position, width, height, etc.).
SPLINE | Interpolates from one value in the values list to the next according to a time function defined by a cubic Bezier spline. The points of the spline are defined in the KeyTimes attribute, and the control points for each interval are defined in the KeySplines attribute.

Constants' Details
DISCRETE
const short DISCRETE = 0; Description This specifies that the animation function will jump from one value to the next without any interpolation.
LINEAR
const short LINEAR = 1; Description Simple linear interpolation between values is used to calculate the animation function. This is the default.
PACED
const short PACED = 2; Description Defines interpolation to produce an even pace of change across the animation. This is only supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g. position, width, height, etc.).
SPLINE
const short SPLINE = 3; Description Interpolates from one value in the values list to the next according to a time function defined by a cubic Bezier spline. The points of the spline are defined in the KeyTimes attribute, and the control points for each interval are defined in the KeySplines attribute.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.