blob: 1c6b84d50eb43963a1477cfd4248662a8f5932fb [file] [log] [blame]
<html>
<head>
<title>Struct EllipticalArc</title>
<style>h3 { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:1pt; }
p, dt, dd, pre { font-size:11pt; margin-top:3pt; margin-bottom:1pt; }
table.lightbg { background-color:#eeeeff; }
table.subtitle { margin-top:6pt; margin-bottom:6pt; }
td { font-size:11pt; }
td.title { font-family: Arial; font-size:19pt; font-weight:bold; text-align:center; background-color:#ccccff; line-height:30pt; }
td.subtitle { font-family: Arial; font-size:13pt; background-color:#ccccff; line-height:20pt; }
td.imdetail { width:100%; background-color:#eeeeff; }
a.membertitle { font-size:12pt; font-weight:bold; line-height:18pt; }
td.imsum_left { width:30%; }
td.imsum_right { width:70%; }
td.navimain, a.navimain { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; }
td.navimainself { text-align:center; font-family: Arial; font-size:12pt; font-weight:bold; color:#ffffff; background-color:#2222ad; }
td.navimainnone { text-align:center; font-family: Arial; font-size:12pt; }
td.attrtitle { font-weight:bold; background-color:#eeeeff; }
td.navisub, a.navisub, td.attrtitle, td.attrvalue { text-align:center; font-family: Arial; font-size:9pt; font-variant:small-caps; }
td.navimain, td.navisub { padding-left:7pt; padding-right:7pt; }
p.raise { font-size:11pt; margin-top:0pt; text-align:right; padding-right:5pt; }
a.navimain, a.navisub { color:#000000; }
.dt { font-weight:bold; }
.namechain { font-size:13pt; font-weight:bold; margin-top:3pt; margin-bottom:6pt; }
.tpl { font-size:13pt; margin-top:3pt; margin-bottom:6pt; }
</style>
</head>
<body bgcolor="#ffffff">
<a name="_top_"> </a>
<table border="0" cellpadding="3" class="lightbg">
<tr>
<td class="navimain"><a href="../../../../../com/sun/star/module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="EllipticalArc-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td>
<td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">drafts</a> :: <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">geometry</a> :: </p>
</td>
</tr>
<tr>
<td class="title">struct EllipticalArc</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd> This structure contains all parameters necessary to specify
arbitrary elliptical arcs. The parameters are modelled closely
after the SVG specification.</dd>
<dd><p>
As with the parameters below, there are mostly four different
ellipses arcs (two different ellipses, on which four different
arcs connect start and end point) which satisfy the given set of
constrains, there are two flags indicating which one of those
ellipses should be taken.
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Elements' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#StartPosition">StartPosition</a></td>
<td class="imsum_right"> Start point of the arc</td>
</tr>
<tr>
<td class="imsum_left"><a href="#EndPosition">EndPosition</a></td>
<td class="imsum_right"> End point of the arc</td>
</tr>
<tr>
<td class="imsum_left"><a href="#RadiusX">RadiusX</a></td>
<td class="imsum_right"> Main radius in x direction of the ellipse this arc is part of</td>
</tr>
<tr>
<td class="imsum_left"><a href="#RadiusY">RadiusY</a></td>
<td class="imsum_right"> Main radius in y direction of the ellipse this arc is part of</td>
</tr>
<tr>
<td class="imsum_left"><a href="#XAxisRotation">XAxisRotation</a></td>
<td class="imsum_right"> Rotation angle of the x axis of the ellipse relative to the x
axis of the reference coordinate system
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#LargeArcFlag">LargeArcFlag</a></td>
<td class="imsum_right"> If true, and there's a choice, take the longer one of two arcs
connecting start and end point.
</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SweepFlag">SweepFlag</a></td>
<td class="imsum_right"> If true, and there's a choice, take the arc that goes
clock-wise from start to end point.
</td>
</tr>
</table>
<a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Elements' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="StartPosition" class="membertitle">StartPosition</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="RealPoint2D.html">RealPoint2D</a> <b>StartPosition</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Start point of the arc</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="EndPosition" class="membertitle">EndPosition</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td><a href="RealPoint2D.html">RealPoint2D</a> <b>EndPosition</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> End point of the arc</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="RadiusX" class="membertitle">RadiusX</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>RadiusX</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Main radius in x direction of the ellipse this arc is part of</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="RadiusY" class="membertitle">RadiusY</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>RadiusY</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Main radius in y direction of the ellipse this arc is part of</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="XAxisRotation" class="membertitle">XAxisRotation</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>XAxisRotation</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> Rotation angle of the x axis of the ellipse relative to the x
axis of the reference coordinate system
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="LargeArcFlag" class="membertitle">LargeArcFlag</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>boolean <b>LargeArcFlag</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> If true, and there's a choice, take the longer one of two arcs
connecting start and end point.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SweepFlag" class="membertitle">SweepFlag</a>
<table border="0" width="96%" cellpadding="5" cellspacing="0" bgcolor="#ffffff" align="center">
<tr>
<td>boolean <b>SweepFlag</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd> If true, and there's a choice, take the arc that goes
clock-wise from start to end point.
</dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2003 Sun Microsystems, Inc.</p>
</body>
</html>