LibreOffice: com/sun/star/rendering/XSpriteCanvas.idl Source File

LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
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
20module com { module sun { module star { module rendering {
21
22interface XSprite;
23interface XAnimatedSprite;
24interface XCustomSprite;
25
42 interface XSpriteCanvas : XCanvas
43{
48 XAnimatedSprite createSpriteFromAnimation( [in] XAnimation animation )
49 raises (com::sun::star::lang::IllegalArgumentException);
50
70 XAnimatedSprite createSpriteFromBitmaps( [in] sequence<XBitmap> animationBitmaps, [in] byte interpolationMode )
71 raises (com::sun::star::lang::IllegalArgumentException,
72 VolatileContentDestroyedException);
73
87 XCustomSprite createCustomSprite( [in] ::com::sun::star::geometry::RealSize2D spriteSize )
88 raises (com::sun::star::lang::IllegalArgumentException);
89
105 XSprite createClonedSprite( [in] XSprite original )
106 raises (com::sun::star::lang::IllegalArgumentException);
107
131 boolean updateScreen( [in] boolean bUpdateAll );
132};
133
134}; }; }; };
135
136/* 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::VolatileContentDestroyedException
This exception indicates an invalid volatile bitmap content.
Definition VolatileContentDestroyedException.idl:30
com::sun::star::rendering::XAnimatedSprite
This interface can be used to control an animated sprite object.
Definition XAnimatedSprite.idl:31
com::sun::star::rendering::XAnimation
This interface defines an animation sequence.
Definition XAnimation.idl:38
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition XCanvas.idl:96
com::sun::star::rendering::XCustomSprite
Interface to control a custom sprite object on a XSpriteCanvas.
Definition XCustomSprite.idl:34
com::sun::star::rendering::XSpriteCanvas
Specialization of a XCanvas, where moving, animated objects (called sprites) are supported.
Definition XSpriteCanvas.idl:43
com::sun::star::rendering::XSpriteCanvas::updateScreen
boolean updateScreen([in] boolean bUpdateAll)
Tells the sprite canvas to now update the screen representation.
com::sun::star::rendering::XSpriteCanvas::createCustomSprite
XCustomSprite createCustomSprite([in] ::com::sun::star::geometry::RealSize2D spriteSize)
Create a custom, user-handles-it-all sprite object.
com::sun::star::rendering::XSpriteCanvas::createSpriteFromAnimation
XAnimatedSprite createSpriteFromAnimation([in] XAnimation animation)
Create a sprite object from the specified animation sequence.
com::sun::star::rendering::XSpriteCanvas::createClonedSprite
XSprite createClonedSprite([in] XSprite original)
Create a cloned version of an already existing sprite object.
com::sun::star::rendering::XSpriteCanvas::createSpriteFromBitmaps
XAnimatedSprite createSpriteFromBitmaps([in] sequence< XBitmap > animationBitmaps, [in] byte interpolationMode)
Create a sprite object from the specified animation sequence.
com::sun::star::rendering::XSprite
Interface to control a sprite object.
Definition XSprite.idl:29
com
Definition Ambiguous.idl:20
com::sun::star::geometry::RealSize2D
This structure contains data representing a two-dimensional size.
Definition RealSize2D.idl:29