Sophie

Sophie

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

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>The SWFFont class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swffill.skewyto.html">SWFFill::skewYTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swffont.construct.html">SWFFont::__construct</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.swffont" class="reference">
 <h1 class="title">The SWFFont class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &lt;= 5.3.0, PECL ming SVN)</p>
 

  <div class="section" id="swffont.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    The <strong class="classname">SWFFont</strong> object represent a reference to the
    font definition, for us with  <span class="function"><a href="swftext.setfont.html" class="function">SWFText::setFont()</a></span>
    and  <span class="function"><a href="swftextfield.setfont.html" class="function">SWFTextField::setFont()</a></span>.
   </p>
  </div>

 
  <div class="section" id="swffont.synopsis">
   <h2 class="title">Class synopsis</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">SWFFont</strong>
     </span>
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
    <span class="methodname"><a href="swffont.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swffont.getascent.html" class="methodname">getAscent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swffont.getdescent.html" class="methodname">getDescent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swffont.getleading.html" class="methodname">getLeading</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><a href="swffont.getshape.html" class="methodname">getShape</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$code</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swffont.getutf8width.html" class="methodname">getUTF8Width</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">float</span> <span class="methodname"><a href="swffont.getwidth.html" class="methodname">getWidth</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$string</code></span>
   )</div>

 
   }</div>

 
  </div>
 </div>
 










































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="swffont.construct.html">SWFFont::__construct</a> — Loads a font definition</li><li><a href="swffont.getascent.html">SWFFont::getAscent</a> — Returns the ascent of the font, or 0 if not available</li><li><a href="swffont.getdescent.html">SWFFont::getDescent</a> — Returns the descent of the font, or 0 if not available</li><li><a href="swffont.getleading.html">SWFFont::getLeading</a> — Returns the leading of the font, or 0 if not available</li><li><a href="swffont.getshape.html">SWFFont::getShape</a> — Returns the glyph shape of a char as a text string</li><li><a href="swffont.getutf8width.html">SWFFont::getUTF8Width</a> — Calculates the width of the given string in this font at full height</li><li><a href="swffont.getwidth.html">SWFFont::getWidth</a> — Returns the string's width</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="swffill.skewyto.html">SWFFill::skewYTo</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swffont.construct.html">SWFFont::__construct</a></div>
 <div class="up"><a href="book.ming.html">Ming</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>