LibreOffice
LibreOffice 7.4 SDK API Reference
XPolyPolygon2D.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_XPolyPolygon2D_idl__
20 #define __com_sun_star_rendering_XPolyPolygon2D_idl__
21 
27 
28 module com { module sun { module star { module rendering {
29 
35 {
66  void addPolyPolygon( [in] ::com::sun::star::geometry::RealPoint2D position, [in] XPolyPolygon2D polyPolygon )
68 
69 
73 
74 
81  long getNumberOfPolygonPoints( [in] long polygon )
83 
84 
89 
90 
94  void setFillRule( [in] FillRule fillRule );
95 
96 
99  boolean isClosed( [in] long index )
101 
102 
106  void setClosed( [in] long index, [in] boolean closedState )
108 };
109 
110 }; }; }; };
111 
112 #endif
113 
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception is thrown to indicate that a container has been accessed with an illegal index.
Definition: IndexOutOfBoundsException.idl:35
Generic interface for poly-polygons in 2D.
Definition: XPolyPolygon2D.idl:35
FillRule getFillRule()
Query the rule used to determine inside and outside of the poly-polygon.
void setFillRule([in] FillRule fillRule)
Set the rule used to determine inside and outside of the poly-polygon.
long getNumberOfPolygonPoints([in] long polygon)
Query number of points inside given polygon.
void setClosed([in] long index, [in] boolean closedState)
Set the close state of the specified polygon outline.
void addPolyPolygon([in] ::com::sun::star::geometry::RealPoint2D position, [in] XPolyPolygon2D polyPolygon)
Add the specified poly-polygon at the given position.
long getNumberOfPolygons()
Query number of polygons inside this poly-polygon.
boolean isClosed([in] long index)
Query whether the specified polygon outline is closed.
base interface of all UNO interfaces
Definition: XInterface.idl:48
FillRule
Determines which algorithm to use when determining inside and outside of filled poly-polygons.
Definition: FillRule.idl:30
Definition: Ambiguous.idl:22
This structure defines a two-dimensional point.
Definition: RealPoint2D.idl:32