Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 4614

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Struct StrokeAttributes</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../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="StrokeAttributes-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 class="navisub" 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" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</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">rendering</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">struct StrokeAttributes</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>This structure contains all attributes required for path stroking.</dd>
<dd><p>

 Path stroking is the process of drawing a polygon with a thick
 pen. The various attributes contained in this structure can be
 used to customize that process.<p>

 @single #110496#
 </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="#StrokeWidth">StrokeWidth</a></td>
<td class="imsum_right">Defines the width of the stroke, measured in user
 coordinate space.

 This value must be positive (or 0.0)
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#MiterLimit">MiterLimit</a></td>
<td class="imsum_right">Determines the maximal length of the diagonal in mitered
 corners.&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DashArray">DashArray</a></td>
<td class="imsum_right">Array of ink on and off lengths, measured in user coordinate
 space.&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#LineArray">LineArray</a></td>
<td class="imsum_right">Array of line widths and spacings for multiple-line
 strokes.&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#StartCapType">StartCapType</a></td>
<td class="imsum_right">The start shape of the stroke.&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#EndCapType">EndCapType</a></td>
<td class="imsum_right">The end shape of the stroke.&nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#JoinType">JoinType</a></td>
<td class="imsum_right">The join shape of the stroke.&nbsp;</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="StrokeWidth" class="membertitle">StrokeWidth</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>StrokeWidth</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Defines the width of the stroke, measured in user
 coordinate space.

 This value must be positive (or 0.0)
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="MiterLimit" class="membertitle">MiterLimit</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>double <b>MiterLimit</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Determines the maximal length of the diagonal in mitered
 corners.</dd>
<dd><p>

 This attribute is only used when
 <a href="StrokeAttributes.html">StrokeAttributes</a>::<a href="StrokeAttributes.html#JoinType">JoinType</a> is set to
 <a href="PathJoinType.html">PathJoinType</a>::<a href="PathJoinType.html#MITER">MITER</a>. Should the length of a
 corner's diagonal exceed this limit, a bevelled join is used
 instead. This value must be positive (or 0.0, which is
 equivalent to setting
 <a href="StrokeAttributes.html">StrokeAttributes</a>::<a href="StrokeAttributes.html#JoinType">JoinType</a> to
 <a href="PathJoinType.html">PathJoinType</a>::<a href="PathJoinType.html#BEVEL">BEVEL</a>.<p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DashArray" class="membertitle">DashArray</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; double &gt; <b>DashArray</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Array of ink on and off lengths, measured in user coordinate
 space.</dd>
<dd><p>

 The first element specifies the length of the first 'on'
 segment of the dashing, the second element the length of the
 first 'off' segment, and so forth. Give zero elements here for
 solid strokes. This array always have an even number of
 elements, with zero, as usual, counting as even
 here. Furthermore, each entry in this array must have a value
 that is positive (or 0.0)<p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="LineArray" class="membertitle">LineArray</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>sequence&lt; double &gt; <b>LineArray</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Array of line widths and spacings for multiple-line
 strokes.</dd>
<dd><p>

 The entries here are relative to the
 <a href="StrokeAttributes.html">StrokeAttributes</a>::<a href="StrokeAttributes.html#StrokeWidth">StrokeWidth</a> attribute
 above, i.e. the total width of all lines and spacings will
 always equal
 <a href="StrokeAttributes.html">StrokeAttributes</a>::<a href="StrokeAttributes.html#StrokeWidth">StrokeWidth</a>. The first
 element specifies the width of the rightmost line, when
 travelling from the start point of the path to the end
 point. The second element specifies the space between the
 first line and the second line, and so forth. If the array
 ends with a spacing, this spacing is included in the total
 width of the multiple-line stroke. That is, the stroke becomes
 asymmetric.<p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="StartCapType" class="membertitle">StartCapType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>byte <b>StartCapType</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The start shape of the stroke.</dd>
<dd><p>

 The start point is the first point of every polygon of the
 path poly-polygon.<p>

 </dd>
<dt><b>See also</b></dt>
<dd><a href="PathCapType.html">PathCapType</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="EndCapType" class="membertitle">EndCapType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>byte <b>EndCapType</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The end shape of the stroke.</dd>
<dd><p>

 The end point is the last point of every polygon of the path
 poly-polygon.<p>

 </dd>
<dt><b>See also</b></dt>
<dd><a href="PathCapType.html">PathCapType</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="JoinType" class="membertitle">JoinType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>byte <b>JoinType</b>;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>The join shape of the stroke.</dd>
<dd><p>

 After every sub-stroke, i.e. after every line or curve segment
 within a single path polygon, a shape of this type is inserted
 into the stroke to glue the segments together. Please note
 that distinct polygons within the path poly-polygon are not
 connected, and therefore also not joined via the shape
 specified here.<p>

 </dd>
<dt><b>See also</b></dt>
<dd><a href="PathJoinType.html">PathJoinType</a></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; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>