(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.