LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
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
20
21
module
com
{ module sun { module star { module rendering {
22
30
interface
XAnimatedSprite
:
XSprite
31
{
53
void
startAnimation
( [in]
double
nSpeed );
54
55
64
void
stopAnimation
();
65
66
75
void
resetAnimation
();
76
77
87
void
updateAnimation
();
88
89
111
void
setViewState
( [in]
ViewState
aViewState )
112
raises (
com::sun::star::lang::IllegalArgumentException
);
113
114
152
void
setAll
( [in]
::com::sun::star::geometry::RealPoint2D
aNewPos,
153
[in]
ViewState
aViewState,
154
[in]
RenderState
aRenderState,
155
[in]
double
nAlpha,
156
[in]
boolean
bUpdateAnimation )
157
raises (
com::sun::star::lang::IllegalArgumentException
);
158
};
159
160
}; }; }; };
161
162
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition
IllegalArgumentException.idl:27
com::sun::star::rendering::XAnimatedSprite
This interface can be used to control an animated sprite object.
Definition
XAnimatedSprite.idl:31
com::sun::star::rendering::XAnimatedSprite::setViewState
void setViewState([in] ViewState aViewState)
Changes the view state in place for this sprite's animation.
com::sun::star::rendering::XAnimatedSprite::setAll
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.
com::sun::star::rendering::XAnimatedSprite::updateAnimation
void updateAnimation()
Issue an additional render call to this sprite's animation.
com::sun::star::rendering::XAnimatedSprite::stopAnimation
void stopAnimation()
Stop the animation sequence.
com::sun::star::rendering::XAnimatedSprite::startAnimation
void startAnimation([in] double nSpeed)
Start animation sequence of this sprite.
com::sun::star::rendering::XAnimatedSprite::resetAnimation
void resetAnimation()
Reset the animation sequence to start with the first frame.
com::sun::star::rendering::XSprite
Interface to control a sprite object.
Definition
XSprite.idl:29
com
Definition
Ambiguous.idl:20
com::sun::star::geometry::RealPoint2D
This structure defines a two-dimensional point.
Definition
RealPoint2D.idl:30
com::sun::star::rendering::RenderState
This structure contains information passed to each XCanvas render operation.
Definition
RenderState.idl:34
com::sun::star::rendering::ViewState
This structure contains information considered the view state.
Definition
ViewState.idl:33
com
sun
star
rendering
XAnimatedSprite.idl
Generated by
1.17.0