Sophie

Sophie

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

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

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.cairotoyfontface.html">CairoToyFontFace</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairopattern.html">CairoPattern</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.cairopatterntype" class="reference">

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

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


  <div class="section" id="cairopatterntype.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    <strong class="classname">CairoPatternType</strong> is used to describe the type of a given pattern.
   </p>
   <p class="para">
       The type of a pattern is determined by the function used to create it.
       The  <span class="function"><a href="function.cairo-pattern-create-rgb.html" class="function">cairo_pattern_create_rgb()</a></span> and  <span class="function"><a href="function.cairo-pattern-create-rgba.html" class="function">cairo_pattern_create_rgba()</a></span>
       functions create <strong><code>CairoPatternType::SOLID</code></strong> patterns. The remaining
       cairo_pattern_create_* functions map to pattern types in obvious ways.
   </p>
  </div>


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


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


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">CairoPatternType</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.cairopatterntype.html#cairopatterntype.constants.solid"><var class="varname">SOLID</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.cairopatterntype.html#cairopatterntype.constants.surface"><var class="varname">SURFACE</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.cairopatterntype.html#cairopatterntype.constants.linear"><var class="varname">LINEAR</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.cairopatterntype.html#cairopatterntype.constants.radial"><var class="varname">RADIAL</var></a></var>
     <span class="initializer"> = 3</span>
    ;</div>

    
   }</div>


  </div>
  

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


    <dt id="cairopatterntype.constants.solid">
     <span class="term"><strong><code>CairoPatternType::SOLID</code></strong></span>
     <dd>

      <p class="para">The pattern is a solid (uniform) color. It may be opaque or translucent.</p>
     </dd>

    </dt>


    <dt id="cairopatterntype.constants.surface">
     <span class="term"><strong><code>CairoPatternType::SURFACE</code></strong></span>
     <dd>

      <p class="para">The pattern is a based on a surface (an image). </p>
     </dd>

    </dt>


    <dt id="cairopatterntype.constants.linear">
     <span class="term"><strong><code>CairoPatternType::LINEAR</code></strong></span>
     <dd>

      <p class="para">The pattern is a linear gradient. </p>
     </dd>

    </dt>


    <dt id="cairopatterntype.constants.radial">
     <span class="term"><strong><code>CairoPatternType::RADIAL</code></strong></span>
     <dd>

      <p class="para">The pattern is a radial gradient. </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.cairotoyfontface.html">CairoToyFontFace</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.cairopattern.html">CairoPattern</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>