LibreOffice
LibreOffice 24.8 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
28{
29
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: */
manages multiple rectangles which make up a region.
Definition XRegion.idl:28
sequence< Rectangle > getRectangles()
returns all rectangles which are making up this region.
void xOrRegion([in] XRegion Region)
applies an exclusive-or operation with the specified region to this region.
Rectangle getBounds()
returns the bounding box of the shape.
void excludeRectangle([in] Rectangle Rect)
removes the area of the specified rectangle from this region.
void excludeRegion([in] XRegion Region)
removes the area of the specified region from this region.
void unionRegion([in] XRegion Region)
adds the specified region to this region.
void unionRectangle([in] Rectangle Rect)
adds the specified rectangle to this region.
void intersectRegion([in] XRegion Region)
intersects the specified region with the current region.
void xOrRectangle([in] Rectangle Rect)
applies an exclusive-or operation with the specified rectangle to this region.
void clear()
makes this region an empty region.
void move([in] long nHorzMove, [in] long nVertMove)
moves this region by the specified horizontal and vertical delta.
void intersectRectangle([in] Rectangle Region)
intersects the specified rectangle with the current region.
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
Definition Ambiguous.idl:20
specifies a rectangular area by position and size.
Definition Rectangle.idl:28