LibreOffice: com/sun/star/awt/XRegion.idl Source File

LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XRegion.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
22 module com { module sun { module star { module awt {
23
24
27published interface XRegion: com::sun::star::uno::XInterface
28{
29
32 Rectangle getBounds();
33
34
37 void clear();
38
39
42 void move( [in] long nHorzMove,
43 [in] long nVertMove );
44
45
48 void unionRectangle( [in] Rectangle Rect );
49
50
53 void intersectRectangle( [in] Rectangle Region );
54
55
58 void excludeRectangle( [in] Rectangle Rect );
59
60
64 void xOrRectangle( [in] Rectangle Rect );
65
66
69 void unionRegion( [in] XRegion Region );
70
71
74 void intersectRegion( [in] XRegion Region );
75
76
79 void excludeRegion( [in] XRegion Region );
80
81
85 void xOrRegion( [in] XRegion Region );
86
87
90 sequence<Rectangle> getRectangles();
91
92};
93
94
95}; }; }; };
96
97/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::XRegion
manages multiple rectangles which make up a region.
Definition XRegion.idl:28
com::sun::star::awt::XRegion::getRectangles
sequence< Rectangle > getRectangles()
returns all rectangles which are making up this region.
com::sun::star::awt::XRegion::xOrRegion
void xOrRegion([in] XRegion Region)
applies an exclusive-or operation with the specified region to this region.
com::sun::star::awt::XRegion::getBounds
Rectangle getBounds()
returns the bounding box of the shape.
com::sun::star::awt::XRegion::excludeRectangle
void excludeRectangle([in] Rectangle Rect)
removes the area of the specified rectangle from this region.
com::sun::star::awt::XRegion::excludeRegion
void excludeRegion([in] XRegion Region)
removes the area of the specified region from this region.
com::sun::star::awt::XRegion::unionRegion
void unionRegion([in] XRegion Region)
adds the specified region to this region.
com::sun::star::awt::XRegion::unionRectangle
void unionRectangle([in] Rectangle Rect)
adds the specified rectangle to this region.
com::sun::star::awt::XRegion::intersectRegion
void intersectRegion([in] XRegion Region)
intersects the specified region with the current region.
com::sun::star::awt::XRegion::xOrRectangle
void xOrRectangle([in] Rectangle Rect)
applies an exclusive-or operation with the specified rectangle to this region.
com::sun::star::awt::XRegion::clear
void clear()
makes this region an empty region.
com::sun::star::awt::XRegion::move
void move([in] long nHorzMove, [in] long nVertMove)
moves this region by the specified horizontal and vertical delta.
com::sun::star::awt::XRegion::intersectRectangle
void intersectRectangle([in] Rectangle Region)
intersects the specified rectangle with the current region.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition Rectangle.idl:28