tdf#130857 qt weld: Implement QtInstanceWidget::get_text_height
[LibreOffice.git] / offapi / com / sun / star / geometry / EllipticalArc.idl
blobf658bf4bfccd76ee3ed72c7fa329da59646c4ac2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 module com { module sun { module star { module geometry {
22 /** This structure specifies an arbitrary elliptical arc.<p>
24 This structure contains all parameters necessary to specify
25 arbitrary elliptical arcs. The parameters are modeled closely
26 after the <a href="http://www.w3c.org">SVG</a> specification.<p>
28 As with the parameters below, there are mostly four different
29 ellipses arcs (two different ellipses, on which four different
30 arcs connect start and end point) which satisfy the given set of
31 constrains. Thus, there are two flags indicating which one of those
32 ellipses should be taken.<p>
34 @since OOo 2.0
36 struct EllipticalArc
38 /// Start point of the arc.
39 RealPoint2D StartPosition;
42 /// End point of the arc.
43 RealPoint2D EndPosition;
46 /// Main radius in x direction of the ellipse this arc is part of.
47 double RadiusX;
50 /// Main radius in y direction of the ellipse this arc is part of.
51 double RadiusY;
54 /** Rotation angle of the x axis of the ellipse relative to the x
55 axis of the reference coordinate system.
57 double XAxisRotation;
60 /** If `TRUE`, and there's a choice, take the longer one of two arcs
61 connecting start and end point.
63 boolean IsLargeArc;
66 /** If `TRUE`, and there's a choice, take the arc that goes
67 clock-wise from start to end point.
69 boolean IsClockwiseSweep;
72 }; }; }; };
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */