Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > d8897055bf371f85032c9aee10a97c68 > files > 205

lib64goocanvasmm-devel-0.15.3-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>goocanvasmm: goocanvasmm Reference Manual</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>goocanvasmm Reference Manual</h1><h3>0.15.3 </h3><h2><a class="anchor" id="description">
description</a></h2>
<p>goocanvasmm is a C++ binding for <a href="http://live.gnome.org/GooCanvas">goocanvas</a>. See the <a class="el" href="classGoocanvas_1_1Canvas.html" title="The main canvas widget, containing a number of canvas items.">Goocanvas::Canvas</a> widget.</p>
<h2><a class="anchor" id="basics">
basics</a></h2>
<p>Include the goocanvasmm header: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include &lt;goocanvasmm.h&gt;</span>
</pre></div><p> (You may include individual headers, such as goocanvasmm/rect.h instead.)</p>
<p>If your source file is <code>program.cc</code>, you can compile it with: </p>
<div class="fragment"><pre class="fragment"> g++ program.cc -o program `pkg-config --cflags --libs goocanvasmm-1.0`
</pre></div><p>Alternatively, if using autoconf, use the following in <code>configure.ac:</code> </p>
<div class="fragment"><pre class="fragment"> PKG_CHECK_MODULES([GOOCANVASMM], [goocanvasmm-1.0])
</pre></div><p> Then use the generated <code>GOOCANVASMM_CFLAGS</code> and <code>GOOCANVASMM_LIBS</code> variables in the project <code>Makefile.am</code> files. For example: </p>
<div class="fragment"><pre class="fragment"> program_CPPFLAGS = $(GOOCANVASMM_CFLAGS)
 program_LDADD = $(GOOCANVASMM_LIBS)
</pre></div> </div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 22:38:16 2010 for goocanvasmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>