Sophie

Sophie

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

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 HaruFont class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.textrect.html">HaruPage::textRect</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harufont.getascent.html">HaruFont::getAscent</a></div>
 <div class="up"><a href="book.haru.html">haru</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.harufont" class="reference">
 <h1 class="title">The HaruFont class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PECL haru &gt;= 0.0.1)</p>
 

  <div class="section" id="harufont.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Haru PDF Font Class.
   </p>
  </div>

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

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

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

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.getascent.html" class="methodname">getAscent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.getcapheight.html" class="methodname">getCapHeight</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.getdescent.html" class="methodname">getDescent</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><a href="harufont.getencodingname.html" class="methodname">getEncodingName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><a href="harufont.getfontname.html" class="methodname">getFontName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><a href="harufont.gettextwidth.html" class="methodname">getTextWidth</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.getunicodewidth.html" class="methodname">getUnicodeWidth</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$character</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.getxheight.html" class="methodname">getXHeight</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><a href="harufont.measuretext.html" class="methodname">measureText</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$text</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$width</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$font_size</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$char_space</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$word_space</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$word_wrap</code><span class="initializer"> = false</span></span>
  ] )</div>

   }</div>

  </div>
 </div>
 
 






















































 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="harufont.getascent.html">HaruFont::getAscent</a> — Get the vertical ascent of the font</li><li><a href="harufont.getcapheight.html">HaruFont::getCapHeight</a> — Get the distance from the baseline of uppercase letters</li><li><a href="harufont.getdescent.html">HaruFont::getDescent</a> — Get the vertical descent of the font</li><li><a href="harufont.getencodingname.html">HaruFont::getEncodingName</a> — Get the name of the encoding</li><li><a href="harufont.getfontname.html">HaruFont::getFontName</a> — Get the name of the font</li><li><a href="harufont.gettextwidth.html">HaruFont::getTextWidth</a> — Get the total width of the text, number of characters, number of words and number of spaces</li><li><a href="harufont.getunicodewidth.html">HaruFont::getUnicodeWidth</a> — Get the width of the character in the font</li><li><a href="harufont.getxheight.html">HaruFont::getXHeight</a> — Get the distance from the baseline of lowercase letters</li><li><a href="harufont.measuretext.html">HaruFont::measureText</a> — Calculate the number of characters which can be included within the specified width</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="harupage.textrect.html">HaruPage::textRect</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="harufont.getascent.html">HaruFont::getAscent</a></div>
 <div class="up"><a href="book.haru.html">haru</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>