<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ps.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.ps-setmiterlimit.php',
    1 => 'ps_setmiterlimit',
    2 => 'Sets the miter limit',
  ),
  'up' => 
  array (
    0 => 'ref.ps.php',
    1 => 'PS Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.ps-setlinewidth.php',
    1 => 'ps_setlinewidth',
  ),
  'next' => 
  array (
    0 => 'function.ps-setoverprintmode.php',
    1 => 'ps_setoverprintmode',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ps/functions/ps-setmiterlimit.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ps-setmiterlimit" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_setmiterlimit</h1>
  <p class="verinfo">(PECL ps &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ps_setmiterlimit</span> &mdash; <span class="dc-title">Sets the miter limit</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-setmiterlimit-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ps_setmiterlimit</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$psdoc</code></span>, <span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   If two lines join in a small angle and the line join is set to
   <code class="literal">PS_LINEJOIN_MITER</code>, then
   the resulting spike will be very long. The miter limit is the maximum
   ratio of the miter length (the length of the spike) and the line width.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-setmiterlimit-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">psdoc</code></dt>
     <dd>
      <p class="para">
       Resource identifier of the postscript file
       as returned by <span class="function"><a href="function.ps-new.php" class="function">ps_new()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">value</code></dt>
     <dd>
      <p class="para">
       The maximum ratio between the miter length and the line width. Larger
       values (&gt; 10) will result in very long spikes when two lines meet
       in a small angle. Keep the default unless you know what you are doing.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-setmiterlimit-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-setmiterlimit-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ps-setlinecap.php" class="function" rel="rdfs-seeAlso">ps_setlinecap()</a> - Sets appearance of line ends</span></li>
    <li><span class="function"><a href="function.ps-setlinejoin.php" class="function" rel="rdfs-seeAlso">ps_setlinejoin()</a> - Sets how contected lines are joined</span></li>
    <li><span class="function"><a href="function.ps-setlinewidth.php" class="function" rel="rdfs-seeAlso">ps_setlinewidth()</a> - Sets width of a line</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>