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

LibreOffice LibreOffice 7.3 SDK API Reference

XSprite.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_XSprite_idl__
20#define __com_sun_star_rendering_XSprite_idl__
21
22#include <com/sun/star/uno/XInterface.idl>
23#include <com/sun/star/lang/IllegalArgumentException.idl>
24#include <com/sun/star/geometry/RealPoint2D.idl>
25#include <com/sun/star/geometry/AffineMatrix2D.idl>
26#include <com/sun/star/rendering/ViewState.idl>
27#include <com/sun/star/rendering/RenderState.idl>
28
29module com { module sun { module star { module rendering {
30
37 interface XSprite : ::com::sun::star::uno::XInterface
38{
55 void setAlpha( [in] double nAlpha )
56 raises (com::sun::star::lang::IllegalArgumentException);
57
58
84 void move( [in] ::com::sun::star::geometry::RealPoint2D aNewPos, [in] ViewState aViewState, [in] RenderState aRenderState )
85 raises (com::sun::star::lang::IllegalArgumentException);
86
87
115 void transform( [in] com::sun::star::geometry::AffineMatrix2D aTransformation )
116 raises (com::sun::star::lang::IllegalArgumentException);
117
118
151 void clip( [in] XPolyPolygon2D aClip );
152
153
167 void setPriority( [in] double nPriority );
168
169
175 void show();
176
177
182 void hide();
183
184};
185
186}; }; }; };
187
188#endif
189
190/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AffineMatrix2D.idl
IllegalArgumentException.idl
RealPoint2D.idl
RenderState.idl
ViewState.idl
XInterface.idl
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
com::sun::star::rendering::XPolyPolygon2D
Generic interface for poly-polygons in 2D.
Definition: XPolyPolygon2D.idl:35
com::sun::star::rendering::XSprite
Interface to control a sprite object.
Definition: XSprite.idl:38
com::sun::star::rendering::XSprite::transform
void transform([in] com::sun::star::geometry::AffineMatrix2D aTransformation)
Apply a local transformation to the sprite.
com::sun::star::rendering::XSprite::setAlpha
void setAlpha([in] double nAlpha)
Set overall transparency of the sprite.
com::sun::star::rendering::XSprite::show
void show()
Make the sprite visible.
com::sun::star::rendering::XSprite::move
void move([in] ::com::sun::star::geometry::RealPoint2D aNewPos, [in] ViewState aViewState, [in] RenderState aRenderState)
Move sprite to the specified position.
com::sun::star::rendering::XSprite::clip
void clip([in] XPolyPolygon2D aClip)
Apply a clipping to the shape output.
com::sun::star::rendering::XSprite::setPriority
void setPriority([in] double nPriority)
Set sprite priority.
com::sun::star::rendering::XSprite::hide
void hide()
Make the sprite invisible.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22
com::sun::star::geometry::AffineMatrix2D
This structure defines a 2 by 3 affine matrix.
Definition: AffineMatrix2D.idl:63
com::sun::star::geometry::RealPoint2D
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:32
com::sun::star::rendering::RenderState
This structure contains information passed to each XCanvas render operation.
Definition: RenderState.idl:39
com::sun::star::rendering::ViewState
This structure contains information considered the view state.
Definition: ViewState.idl:37