<!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 CairoFontFace class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.cairosurfacetype.html">CairoSurfaceType</a></div> <div class="next" style="text-align: right; float: right;"><a href="cairofontface.construct.html">CairoFontFace::__construct</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.cairofontface" class="reference"> <h1 class="title">The CairoFontFace class</h1> <div class="partintro"><p class="verinfo">(PECL cairo >= 0.1.0)</p> <div class="section" id="cairofontface.intro"> <h2 class="title">Introduction</h2> <p class="para"> CairoFontFace abstract class represents a particular font at a particular weight, slant, and other characteristic but no transformation or size. </p> <p class="para"> Note: This class can not be instantiated directly, it is created by <span class="methodname"><a href="cairocontext.getfontface.html" class="methodname">CairoContext::getFontFace()</a></span> or <span class="function"><a href="function.cairo-scaled-font-get-font-face.html" class="function">cairo_scaled_font_get_font_face()</a></span>. </p> </div> <div class="section" id="cairofontface.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">CairoFontFace</strong> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><a href="cairofontface.construct.html" class="methodname">__construct</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="cairofontface.gettype.html" class="methodname">getType</a></span> ( <span class="methodparam">void</span> )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="cairofontface.status.html" class="methodname">status</a></span> ( <span class="methodparam">void</span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="cairofontface.construct.html">CairoFontFace::__construct</a> — Creates a new CairoFontFace object</li><li><a href="cairofontface.gettype.html">CairoFontFace::getType</a> — Retrieves the font face type</li><li><a href="cairofontface.status.html">CairoFontFace::status</a> — Check for CairoFontFace errors</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="class.cairosurfacetype.html">CairoSurfaceType</a></div> <div class="next" style="text-align: right; float: right;"><a href="cairofontface.construct.html">CairoFontFace::__construct</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>