LibreOffice
LibreOffice 7.4 SDK API Reference
XAnimatedSprite.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
19 #ifndef __com_sun_star_rendering_XAnimatedSprite_idl__
20 #define __com_sun_star_rendering_XAnimatedSprite_idl__
21 
28 
29 
30 module com { module sun { module star { module rendering {
31 
40 {
62  void startAnimation( [in] double nSpeed );
63 
64 
73  void stopAnimation();
74 
75 
85 
86 
97 
98 
120  void setViewState( [in] ViewState aViewState )
122 
123 
162  [in] ViewState aViewState,
163  [in] RenderState aRenderState,
164  [in] double nAlpha,
165  [in] boolean bUpdateAnimation )
167 };
168 
169 }; }; }; };
170 
171 #endif
172 
173 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This interface can be used to control an animated sprite object.
Definition: XAnimatedSprite.idl:40
void setViewState([in] ViewState aViewState)
Changes the view state in place for this sprite's animation.
void setAll([in] ::com::sun::star::geometry::RealPoint2D aNewPos, [in] ViewState aViewState, [in] RenderState aRenderState, [in] double nAlpha, [in] boolean bUpdateAnimation)
Changes all of the sprite's attributes at one atomic instance.
void updateAnimation()
Issue an additional render call to this sprite's animation.
void stopAnimation()
Stop the animation sequence.
void startAnimation([in] double nSpeed)
Start animation sequence of this sprite.
void resetAnimation()
Reset the animation sequence to start with the first frame.
Interface to control a sprite object.
Definition: XSprite.idl:38
Definition: Ambiguous.idl:22
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:32
This structure contains information passed to each XCanvas render operation.
Definition: RenderState.idl:39
This structure contains information considered the view state.
Definition: ViewState.idl:37