blob: 442f22d091e07ecde3a7c7f77a712e61eadc7a20 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_animations_XAnimateTransform_idl__
#define __com_sun_star_animations_XAnimateTransform_idl__
#ifndef __com_sun_star_animations_XAnimate_idl__
#include <com/sun/star/animations/XAnimate.idl>
#endif
//=============================================================================
module com { module sun { module star { module animations {
//=============================================================================
/** animates a transformation attribute on a target element, thereby allowing
animations to control translation, scaling, rotation and/or skewing.
The member <member>XAnimate::Attributes</member> contains a short from
<const>AnimationTransformType</const>.
Depending on the value in <member>XAnimate::Attributes</member>, the
members <member>XAnimate::From</member>, <member>XAnimate::To</member>,
<member>XAnimate::By</member> or <member>XAnimate::Values</member>
contain the following
<ul>
<li><const>AnimationTransformType::TRANSLATE</const><br>
<type>ValuePair</type> of <i>tx</i> and <i>ty</i></li>
<li><const>AnimationTransformType::SCALE</const><br>
<type>ValuePair</type> of <i>sx</i> and <i>sy</i></li>
<li><const>AnimationTransformType::ROTATE</const><br>
Values for a rotation angle</li>
<li><const>AnimationTransformType::SKEWX</const><br>
Values for a skew-angle</li>
<li><const>AnimationTransformType::SKEWY</const><br>
Values for a skew-angle</li>
</ul>
@see http://www.w3.org/TR/SVG/animate.html#AnimateTransformElement
*/
interface XAnimateTransform : XAnimate
{
/**
@see <const>AnimationTransformType</const>
*/
[attribute] short TransformType;
};
//=============================================================================
}; }; }; };
#endif