LibreOffice LibreOffice 6.1 SDK API Reference

XSpriteCanvas.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_XSpriteCanvas_idl__
20 #define __com_sun_star_rendering_XSpriteCanvas_idl__
21
22 #include <com/sun/star/lang/IllegalArgumentException.idl>
23 #include <com/sun/star/rendering/XBitmapCanvas.idl>
24 #include <com/sun/star/rendering/XAnimation.idl>
25 #include <com/sun/star/rendering/VolatileContentDestroyedException.idl>
26
27 module com { module sun { module star { module rendering {
28
29 interface XSprite;
30 interface XAnimatedSprite;
31 interface XCustomSprite;
32
49 interface XSpriteCanvas : XCanvas
50 {
55 XAnimatedSprite createSpriteFromAnimation( [in] XAnimation animation )
56 raises (com::sun::star::lang::IllegalArgumentException);
57
77 XAnimatedSprite createSpriteFromBitmaps( [in] sequence<XBitmap> animationBitmaps, [in] byte interpolationMode )
78 raises (com::sun::star::lang::IllegalArgumentException,
79 VolatileContentDestroyedException);
80
94 XCustomSprite createCustomSprite( [in] ::com::sun::star::geometry::RealSize2D spriteSize )
95 raises (com::sun::star::lang::IllegalArgumentException);
96
112 XSprite createClonedSprite( [in] XSprite original )
113 raises (com::sun::star::lang::IllegalArgumentException);
114
138 boolean updateScreen( [in] boolean bUpdateAll );
139 };
140
141 }; }; }; };
142
143 #endif
144
145 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XBitmapCanvas.idl
com::sun::star::geometry::RealSize2D
This structure contains data representing a two-dimensional size.
Definition: RealSize2D.idl:30
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition: XCanvas.idl:113
XAnimation.idl
com::sun::star::rendering::XSpriteCanvas
Specialization of a XCanvas, where moving, animated objects (called sprites) are supported.
Definition: XSpriteCanvas.idl:49
com::sun::star::rendering::XCustomSprite
Interface to control a custom sprite object on a XSpriteCanvas.
Definition: XCustomSprite.idl:40
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
com::sun::star::rendering::XAnimation
This interface defines an animation sequence.
Definition: XAnimation.idl:45
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
com::sun::star::rendering::VolatileContentDestroyedException
This exception indicates an invalid volatile bitmap content.
Definition: VolatileContentDestroyedException.idl:33
VolatileContentDestroyedException.idl
com::sun::star::rendering::XAnimatedSprite
This interface can be used to control an animated sprite object.
Definition: XAnimatedSprite.idl:39
com::sun::star::rendering::XSprite
Interface to control a sprite object.
Definition: XSprite.idl:37