Sophie

Sophie

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

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

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairohintmetrics.html">CairoHintMetrics</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairolinecap.html">CairoLineCap</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.cairohintstyle" class="reference">

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

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


  <div class="section" id="cairohintstyle.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid
    in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces
    the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font
    backends.
   </p>
  </div>


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


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


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">CairoHintStyle</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.cairohintstyle.html#cairohintstyle.constants.style-default"><var class="varname">STYLE_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.cairohintstyle.html#cairohintstyle.constants.style-none"><var class="varname">STYLE_NONE</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.cairohintstyle.html#cairohintstyle.constants.style-slight"><var class="varname">STYLE_SLIGHT</var></a></var>
     <span class="initializer"> = 2</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairohintstyle.html#cairohintstyle.constants.style-medium"><var class="varname">STYLE_MEDIUM</var></a></var>
     <span class="initializer"> = 3</span>
    ;</div>

    <div class="fieldsynopsis">
     <span class="modifier">const</span>
     <span class="type">integer</span>
      <var class="fieldsynopsis_varname"><a href="class.cairohintstyle.html#cairohintstyle.constants.style-full"><var class="varname">STYLE_FULL</var></a></var>
     <span class="initializer"> = 4</span>
    ;</div>

    
   }</div>


  </div>
  

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


    <dt id="cairohintstyle.constants.style-default">
     <span class="term"><strong><code>CairoHintStyle::STYLE_DEFAULT</code></strong></span>
     <dd>

      <p class="para">Use the default hint style for font backend and target device </p>
     </dd>

    </dt>


    <dt id="cairohintstyle.constants.style-none">
     <span class="term"><strong><code>CairoHintStyle::STYLE_NONE</code></strong></span>
     <dd>

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

    </dt>


    <dt id="cairohintstyle.constants.style-slight">
     <span class="term"><strong><code>CairoHintStyle::STYLE_SLIGHT</code></strong></span>
     <dd>

      <p class="para">Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.</p>
     </dd>

    </dt>


    <dt id="cairohintstyle.constants.style-medium">
     <span class="term"><strong><code>CairoHintStyle::STYLE_MEDIUM</code></strong></span>
     <dd>

      <p class="para">Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast </p>
     </dd>

    </dt>


    <dt id="cairohintstyle.constants.style-full">
     <span class="term"><strong><code>CairoHintStyle::STYLE_FULL</code></strong></span>
     <dd>

      <p class="para">Hint outlines to maximize contrast</p>
     </dd>

    </dt>


   </dl>

  </div>



 </div>

 

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairohintmetrics.html">CairoHintMetrics</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairolinecap.html">CairoLineCap</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>