Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9a0a79014b834e3e43ba7caa953e8c16 > files > 1019

gtkmm3.0-doc-3.10.1-1.mga4.noarch.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>gtkmm: Gdk::Cairo Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">gtkmm
   &#160;<span id="projectnumber">3.10.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceGdk.html">Gdk</a></li><li class="navelem"><a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Gdk::Cairo Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a756dfe9de49bc8cc860ccae52713e290"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGdk_1_1Cairo.html#a756dfe9de49bc8cc860ccae52713e290">set_source_color</a> (const ::Cairo::RefPtr&lt; ::Cairo::Context &gt;&amp; context, const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp; color)</td></tr>
<tr class="memdesc:a756dfe9de49bc8cc860ccae52713e290"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the specified <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a> as the source color of the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context.  <a href="#a756dfe9de49bc8cc860ccae52713e290">More...</a><br/></td></tr>
<tr class="separator:a756dfe9de49bc8cc860ccae52713e290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f592f448c610fa191d3de1fbf1899e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGdk_1_1Cairo.html#a0f592f448c610fa191d3de1fbf1899e3">set_source_rgba</a> (const ::Cairo::RefPtr&lt; ::Cairo::Context &gt;&amp; context, const <a class="el" href="classGdk_1_1RGBA.html">Gdk::RGBA</a>&amp; color)</td></tr>
<tr class="memdesc:a0f592f448c610fa191d3de1fbf1899e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the specified <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">Gdk::RGBA</a> as the source color of the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context.  <a href="#a0f592f448c610fa191d3de1fbf1899e3">More...</a><br/></td></tr>
<tr class="separator:a0f592f448c610fa191d3de1fbf1899e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91e890136c8188a3b3044f653b55f5d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGdk_1_1Cairo.html#a91e890136c8188a3b3044f653b55f5d1">set_source_pixbuf</a> (const ::Cairo::RefPtr&lt; ::Cairo::Context &gt;&amp; context, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp; pixbuf, double pixbuf_x=0, double pixbuf_y=0)</td></tr>
<tr class="memdesc:a91e890136c8188a3b3044f653b55f5d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given pixbuf as the source pattern for the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context.  <a href="#a91e890136c8188a3b3044f653b55f5d1">More...</a><br/></td></tr>
<tr class="separator:a91e890136c8188a3b3044f653b55f5d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ea2e5e747df1326ca23215e39616a78"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGdk_1_1Cairo.html#a6ea2e5e747df1326ca23215e39616a78">add_rectangle_to_path</a> (const ::Cairo::RefPtr&lt; ::Cairo::Context &gt;&amp; context, const <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>&amp; rectangle)</td></tr>
<tr class="memdesc:a6ea2e5e747df1326ca23215e39616a78"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given rectangle to the current path of the context.  <a href="#a6ea2e5e747df1326ca23215e39616a78">More...</a><br/></td></tr>
<tr class="separator:a6ea2e5e747df1326ca23215e39616a78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a217bdd97cd08f473eb56c191f091419e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceGdk_1_1Cairo.html#a217bdd97cd08f473eb56c191f091419e">add_region_to_path</a> (const ::Cairo::RefPtr&lt; ::Cairo::Context &gt;&amp; context, const ::Cairo::RefPtr&lt; ::Cairo::Region &gt;&amp; region)</td></tr>
<tr class="memdesc:a217bdd97cd08f473eb56c191f091419e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the given region to the current path of the context.  <a href="#a217bdd97cd08f473eb56c191f091419e">More...</a><br/></td></tr>
<tr class="separator:a217bdd97cd08f473eb56c191f091419e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a6ea2e5e747df1326ca23215e39616a78"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Cairo::add_rectangle_to_path </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Context &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Rectangle.html">Gdk::Rectangle</a>&amp;&#160;</td>
          <td class="paramname"><em>rectangle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the given rectangle to the current path of the context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A cairo context. </td></tr>
    <tr><td class="paramname">rectangle</td><td>A rectangle to add to the path of the context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000019">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a217bdd97cd08f473eb56c191f091419e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Cairo::add_region_to_path </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Context &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Region &gt; &amp;&#160;</td>
          <td class="paramname"><em>region</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the given region to the current path of the context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">context</td><td>A cairo context. </td></tr>
    <tr><td class="paramname">region</td><td>A region to add to the path of the context.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000020">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a756dfe9de49bc8cc860ccae52713e290"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Cairo::set_source_color </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Context &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Gdk::Color</a>&amp;&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the specified <a class="el" href="classGdk_1_1Color.html" title="Gdk::Color is used to describe an allocated or unallocated color.">Gdk::Color</a> as the source color of the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">@context</td><td>The cairo context. </td></tr>
    <tr><td class="paramname">color</td><td>The color to use as the source color.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000017">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000014">Deprecated:</a></b></dt><dd>Use <a class="el" href="namespaceGdk_1_1Cairo.html#a0f592f448c610fa191d3de1fbf1899e3" title="Sets the specified Gdk::RGBA as the source color of the Cairo context.">set_source_rgba()</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a91e890136c8188a3b3044f653b55f5d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Cairo::set_source_pixbuf </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Context &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>pixbuf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pixbuf_x</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pixbuf_y</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the given pixbuf as the source pattern for the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context. </p>
<p>The pattern has an extend mode of CAIRO_EXTEND_NONE and is aligned so that the origin of pixbuf is pixbuf_x, pixbuf_y. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">@context</td><td>The cairo context. </td></tr>
    <tr><td class="paramname">pixbuf</td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> </td></tr>
    <tr><td class="paramname">pixbuf_x</td><td>X coordinate of location to place upper left corner of pixbuf. </td></tr>
    <tr><td class="paramname">pixbuf_y</td><td>Y coordinate of location to place upper left corner of pixbuf.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000018">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a0f592f448c610fa191d3de1fbf1899e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gdk::Cairo::set_source_rgba </td>
          <td>(</td>
          <td class="paramtype">const ::Cairo::RefPtr&lt; ::Cairo::Context &gt; &amp;&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGdk_1_1RGBA.html">Gdk::RGBA</a>&amp;&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the specified <a class="el" href="classGdk_1_1RGBA.html" title="An RGBA Color.">Gdk::RGBA</a> as the source color of the <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">@context</td><td>The cairo context. </td></tr>
    <tr><td class="paramname">color</td><td>The color to use as the source color.</td></tr>
  </table>
  </dd>
</dl>
<dl class="since_3_0"><dt><b><a class="el" href="since_3_0.html#_since_3_0000046">Since gtkmm 3.0:</a></b></dt><dd></dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>