Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12225

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>Computes string's width</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swftext.getutf8width.html">SWFText::getUTF8Width</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swftext.moveto.html">SWFText::moveTo</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.getwidth" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SWFText::getWidth</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.5)</p><p class="refpurpose"><span class="refname">SWFText::getWidth</span> &mdash; <span class="dc-title">Computes string&#039;s width</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-swftext.getwidth-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><strong>SWFText::getWidth</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</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">
   Returns the rendered width of the <em><code class="parameter">string</code></em> at the
   text object&#039;s current font, scale, and spacing settings. 
  </p>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-swftext.getwidth-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="swftext.getutf8width.html" class="function" rel="rdfs-seeAlso">SWFText::getUTF8Width()</a> - calculates the width of the given string in this text objects current font and size</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swftext.getutf8width.html">SWFText::getUTF8Width</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swftext.moveto.html">SWFText::moveTo</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>