Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 685

php-manual-en-7.2.11-1.mga7.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 CairoHintMetrics class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairofilter.html">CairoFilter</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairohintstyle.html">CairoHintStyle</a></div>
 <div class="up"><a href="book.cairo.html">Cairo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.cairohintmetrics" class="reference">

 <h1 class="title">The CairoHintMetrics class</h1>
 

 <div class="partintro"><p class="verinfo">(No version information available, might only be in Git)</p>


  <div class="section" id="cairohintmetrics.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values
    in device space. Doing this improves the consistency of letter and line spacing, however it also means that text
    will be laid out differently at different zoom factors.
   </p>
  </div>


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


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


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

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Constants */</div>
    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairohintmetrics.html#cairohintmetrics.constants.metrics-default"><var class="varname">METRICS_DEFAULT</var></a></var>
     <span class="initializer"> = 0</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairohintmetrics.html#cairohintmetrics.constants.metrics-off"><var class="varname">METRICS_OFF</var></a></var>
     <span class="initializer"> = 1</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairohintmetrics.html#cairohintmetrics.constants.metrics-on"><var class="varname">METRICS_ON</var></a></var>
     <span class="initializer"> = 2</span>
    ;</div>

    
   }</div>


  </div>
  

  <div class="section" id="cairohintmetrics.constants">
   <h2 class="title">Predefined Constants</h2>
   <dl>


    
     <dt id="cairohintmetrics.constants.metrics-default"><strong><code>CairoHintMetrics::METRICS_DEFAULT</code></strong></dt>

     <dd>

      <p class="para">Hint metrics in the default manner for the font backend and target device </p>
     </dd>

    

    
     <dt id="cairohintmetrics.constants.metrics-off"><strong><code>CairoHintMetrics::METRICS_OFF</code></strong></dt>

     <dd>

      <p class="para">Do not hint font metrics </p>
     </dd>

    

    
     <dt id="cairohintmetrics.constants.metrics-on"><strong><code>CairoHintMetrics::METRICS_ON</code></strong></dt>

     <dd>

      <p class="para">Hint font metrics </p>
     </dd>

    

   </dl>

  </div>



 </div>

 

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairofilter.html">CairoFilter</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairohintstyle.html">CairoHintStyle</a></div>
 <div class="up"><a href="book.cairo.html">Cairo</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>