Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12230

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sets the current font spacing</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swftext.setheight.html">SWFText::setHeight</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.swftextfield.html">SWFTextField</a></div>
 <div class="up"><a href="class.swftext.html">SWFText</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swftext.setspacing" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFText::setSpacing</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFText::setSpacing</span> &mdash; <span class="dc-title">Sets the current font spacing</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swftext.setspacing-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>SWFText::setSpacing</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$spacing</code></span>
   )</div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
<em class="emphasis">EXPERIMENTAL</em>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
This function should be used at your own risk.
</p></div>
  <p class="para">
    <span class="function"><strong>swftext::setspacing()</strong></span> sets the current font spacing to 
   <em><code class="parameter">spacing</code></em>. Default is 1.0. 
   0 is all of the letters written at the same point. This doesn&#039;t really work 
   that well because it inflates the advance across the letter, doesn&#039;t add 
   the same amount of spacing between the letters. I should try and explain 
   that better, prolly. Or just fix the damn thing to do constant spacing. 
   This was really just a way to figure out how letter advances work, 
   anyway.. So nyah. 
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swftext.setspacing-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   No value is returned.
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swftext.setheight.html">SWFText::setHeight</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.swftextfield.html">SWFTextField</a></div>
 <div class="up"><a href="class.swftext.html">SWFText</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>