<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>cairomm: Cairo::GlitzSurface Class Reference</title> <link href="cairomm.css" rel="stylesheet" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceCairo.html">Cairo</a>::<a class="el" href="classCairo_1_1GlitzSurface.html">GlitzSurface</a> </div> </div> <div class="contents"> <h1>Cairo::GlitzSurface Class Reference</h1><!-- doxytag: class="Cairo::GlitzSurface" --><!-- doxytag: inherits="Cairo::Surface" --><div class="dynheader"> Inheritance diagram for Cairo::GlitzSurface:</div> <div class="dynsection"> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classCairo_1_1GlitzSurface-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A <a class="el" href="classCairo_1_1GlitzSurface.html" title="A GlitzSurface provides a way to render to the X Window System using Glitz.">GlitzSurface</a> provides a way to render to the X Window System using Glitz. <p> This provides a way to use OpenGL-accelerated graphics from cairo. If you want to use hardware-accelerated graphics within the X Window system, you should use this <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation...">Surface</a> type.<p> <dl class="note" compact><dt><b>Note:</b></dt><dd>For this <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation...">Surface</a> to be available, cairo must have been compiled with Glitz support</dd></dl> <dl class="warning" compact><dt><b>Warning:</b></dt><dd>This is an experimental surface. It is not yet marked as a fully supported surface by the cairo library </dd></dl> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1GlitzSurface.html#5cac88d99e13f65090f25ed28983b8ad">GlitzSurface</a> (cairo_surface_t *<a class="el" href="classCairo_1_1Surface.html#d176eb7343b5902df3c19f9f56e59fb4">cobject</a>, bool has_reference=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a C++ wrapper for the C instance. <a href="#5cac88d99e13f65090f25ed28983b8ad"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1GlitzSurface.html#b84419874031e8e7b465f185e317b9c6">~GlitzSurface</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>< <a class="el" href="classCairo_1_1GlitzSurface.html">GlitzSurface</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1GlitzSurface.html#4856fa658883d3a972dd54263f016a70">create</a> (glitz_surface_t *surface)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classCairo_1_1GlitzSurface.html" title="A GlitzSurface provides a way to render to the X Window System using Glitz.">GlitzSurface</a>. <a href="#4856fa658883d3a972dd54263f016a70"></a><br></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5cac88d99e13f65090f25ed28983b8ad"></a><!-- doxytag: member="Cairo::GlitzSurface::GlitzSurface" ref="5cac88d99e13f65090f25ed28983b8ad" args="(cairo_surface_t *cobject, bool has_reference=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Cairo::GlitzSurface::GlitzSurface </td> <td>(</td> <td class="paramtype">cairo_surface_t * </td> <td class="paramname"> <em>cobject</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>has_reference</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a C++ wrapper for the C instance. <p> This C++ instance should then be given to a <a class="el" href="classCairo_1_1RefPtr.html" title="RefPtr<> is a reference-counting shared smartpointer.">RefPtr</a>.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>cobject</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>has_reference</em> </td><td>whether we already have a reference. Otherwise, the constructor will take an extra reference. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="b84419874031e8e7b465f185e317b9c6"></a><!-- doxytag: member="Cairo::GlitzSurface::~GlitzSurface" ref="b84419874031e8e7b465f185e317b9c6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Cairo::GlitzSurface::~GlitzSurface </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="4856fa658883d3a972dd54263f016a70"></a><!-- doxytag: member="Cairo::GlitzSurface::create" ref="4856fa658883d3a972dd54263f016a70" args="(glitz_surface_t *surface)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a><<a class="el" href="classCairo_1_1GlitzSurface.html">GlitzSurface</a>> Cairo::GlitzSurface::create </td> <td>(</td> <td class="paramtype">glitz_surface_t * </td> <td class="paramname"> <em>surface</em> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Creates a new <a class="el" href="classCairo_1_1GlitzSurface.html" title="A GlitzSurface provides a way to render to the X Window System using Glitz.">GlitzSurface</a>. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>surface</em> </td><td>a glitz surface type </td></tr> </table> </dl> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="surface_8h-source.html">surface.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 26 07:43:32 2008 for cairomm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>