Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / animations / XAnimateTransform.idl
blobc714c6d6da4d0c9044ba8462b5f87eace28b947d
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_XAnimateTransform_idl__
29 #define __com_sun_star_animations_XAnimateTransform_idl__
31 #include <com/sun/star/animations/XAnimate.idl>
33 //=============================================================================
35 module com { module sun { module star { module animations {
37 //=============================================================================
39 /** animates a transformation attribute on a target element, thereby allowing
40 animations to control translation, scaling, rotation and/or skewing.
42 The member <member>XAnimate::Attributes</member> contains a short from
43 <const>AnimationTransformType</const>.
45 Depending on the value in <member>XAnimate::Attributes</member>, the
46 members <member>XAnimate::From</member>, <member>XAnimate::To</member>,
47 <member>XAnimate::By</member> or <member>XAnimate::Values</member>
48 contain the following
50 <ul>
51 <li><const>AnimationTransformType::TRANSLATE</const><br>
52 <type>ValuePair</type> of <i>tx</i> and <i>ty</i></li>
53 <li><const>AnimationTransformType::SCALE</const><br>
54 <type>ValuePair</type> of <i>sx</i> and <i>sy</i></li>
55 <li><const>AnimationTransformType::ROTATE</const><br>
56 Values for a rotation angle</li>
57 <li><const>AnimationTransformType::SKEWX</const><br>
58 Values for a skew-angle</li>
59 <li><const>AnimationTransformType::SKEWY</const><br>
60 Values for a skew-angle</li>
61 </ul>
63 @see http://www.w3.org/TR/SVG/animate.html#AnimateTransformElement
65 interface XAnimateTransform : XAnimate
67 /**
68 @see <const>AnimationTransformType</const>
70 [attribute] short TransformType;
73 //=============================================================================
75 }; }; }; };
77 #endif
79 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */