Blob Blame History Raw
<!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.9.1"/>
<title>pangomm: Pango::Color Class 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" />
<link href="doxygen-extra.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">pangomm
   &#160;<span id="projectnumber">2.40.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.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><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacePango.html">Pango</a></li><li class="navelem"><a class="el" href="classPango_1_1Color.html">Color</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classPango_1_1Color-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Pango::Color Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <a class="el" href="classPango_1_1Color.html" title="A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. ">Pango::Color</a> is used to represent a color in an uncalibrated RGB colorspace.  
 <a href="classPango_1_1Color.html#details">More...</a></p>

<p><code>#include &lt;pangomm/color.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a12f95f79866c07c40a940835d07e003e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a12f95f79866c07c40a940835d07e003e">Color</a> (const <a class="el" href="classPango_1_1Color.html">Color</a>&amp; other) noexcept</td></tr>
<tr class="separator:a12f95f79866c07c40a940835d07e003e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb675e1935cce41db91dffd06e3e0d44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Color.html">Color</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#acb675e1935cce41db91dffd06e3e0d44">operator=</a> (const <a class="el" href="classPango_1_1Color.html">Color</a>&amp; other) noexcept</td></tr>
<tr class="separator:acb675e1935cce41db91dffd06e3e0d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84f4a74bac5eec76a6b9fc90e3f0f20"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#ab84f4a74bac5eec76a6b9fc90e3f0f20">Color</a> (<a class="el" href="classPango_1_1Color.html">Color</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:ab84f4a74bac5eec76a6b9fc90e3f0f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8be464f88a3cc745bd9389136ea1732e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Color.html">Color</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a8be464f88a3cc745bd9389136ea1732e">operator=</a> (<a class="el" href="classPango_1_1Color.html">Color</a>&amp;&amp; other) noexcept</td></tr>
<tr class="separator:a8be464f88a3cc745bd9389136ea1732e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba9add0c20ac33c2e68c3b204e22b94d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#aba9add0c20ac33c2e68c3b204e22b94d">Color</a> ()</td></tr>
<tr class="separator:aba9add0c20ac33c2e68c3b204e22b94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d246bc3212fdfe1d4782ca4fab9d3c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a6d246bc3212fdfe1d4782ca4fab9d3c8">Color</a> (const PangoColor* gobject)</td></tr>
<tr class="separator:a6d246bc3212fdfe1d4782ca4fab9d3c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcfaad17d12c04fd76d38e37124058c4"><td class="memItemLeft" align="right" valign="top">PangoColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#adcfaad17d12c04fd76d38e37124058c4">gobj</a> ()</td></tr>
<tr class="memdesc:adcfaad17d12c04fd76d38e37124058c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#adcfaad17d12c04fd76d38e37124058c4">More...</a><br /></td></tr>
<tr class="separator:adcfaad17d12c04fd76d38e37124058c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa726c32020299eb047c907076fb50a77"><td class="memItemLeft" align="right" valign="top">const PangoColor*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#aa726c32020299eb047c907076fb50a77">gobj</a> () const </td></tr>
<tr class="memdesc:aa726c32020299eb047c907076fb50a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance.  <a href="#aa726c32020299eb047c907076fb50a77">More...</a><br /></td></tr>
<tr class="separator:aa726c32020299eb047c907076fb50a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82d3ad96a05beadaa84d374efec4757b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a82d3ad96a05beadaa84d374efec4757b">operator bool</a> ()</td></tr>
<tr class="separator:a82d3ad96a05beadaa84d374efec4757b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab07705a087ad0ddac653ba7b345e315d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#ab07705a087ad0ddac653ba7b345e315d">operator bool</a> () const </td></tr>
<tr class="memdesc:ab07705a087ad0ddac653ba7b345e315d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether the <a class="el" href="classPango_1_1Color.html" title="A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. ">Color</a> is valid.  <a href="#ab07705a087ad0ddac653ba7b345e315d">More...</a><br /></td></tr>
<tr class="separator:ab07705a087ad0ddac653ba7b345e315d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474701a8464db98dd1c7d783bdbab5a6"><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a474701a8464db98dd1c7d783bdbab5a6">get_red</a> () const </td></tr>
<tr class="memdesc:a474701a8464db98dd1c7d783bdbab5a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the red component of the color.  <a href="#a474701a8464db98dd1c7d783bdbab5a6">More...</a><br /></td></tr>
<tr class="separator:a474701a8464db98dd1c7d783bdbab5a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f8e43e280f7c724ae2f8bd73e920206"><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a0f8e43e280f7c724ae2f8bd73e920206">get_green</a> () const </td></tr>
<tr class="memdesc:a0f8e43e280f7c724ae2f8bd73e920206"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the green component of the color.  <a href="#a0f8e43e280f7c724ae2f8bd73e920206">More...</a><br /></td></tr>
<tr class="separator:a0f8e43e280f7c724ae2f8bd73e920206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf3699a92cc30b45eb2f2830b3c102a"><td class="memItemLeft" align="right" valign="top">guint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a2cf3699a92cc30b45eb2f2830b3c102a">get_blue</a> () const </td></tr>
<tr class="memdesc:a2cf3699a92cc30b45eb2f2830b3c102a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the blue component of the color.  <a href="#a2cf3699a92cc30b45eb2f2830b3c102a">More...</a><br /></td></tr>
<tr class="separator:a2cf3699a92cc30b45eb2f2830b3c102a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a772e0ddc34294b563275328cddef6386"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a772e0ddc34294b563275328cddef6386">set_red</a> (const guint16&amp; value)</td></tr>
<tr class="memdesc:a772e0ddc34294b563275328cddef6386"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the red component of the color.  <a href="#a772e0ddc34294b563275328cddef6386">More...</a><br /></td></tr>
<tr class="separator:a772e0ddc34294b563275328cddef6386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3f87922ab69cc79ab13cf15455be6b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#ae3f87922ab69cc79ab13cf15455be6b8">set_green</a> (const guint16&amp; value)</td></tr>
<tr class="memdesc:ae3f87922ab69cc79ab13cf15455be6b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the green component of the color.  <a href="#ae3f87922ab69cc79ab13cf15455be6b8">More...</a><br /></td></tr>
<tr class="separator:ae3f87922ab69cc79ab13cf15455be6b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fb60c718d3a0f0444b1dc3dc830ad0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a1fb60c718d3a0f0444b1dc3dc830ad0b">set_blue</a> (const guint16&amp; value)</td></tr>
<tr class="memdesc:a1fb60c718d3a0f0444b1dc3dc830ad0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the blue component of the color.  <a href="#a1fb60c718d3a0f0444b1dc3dc830ad0b">More...</a><br /></td></tr>
<tr class="separator:a1fb60c718d3a0f0444b1dc3dc830ad0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ddd2f3bdbe855c0647d608d646e9b7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a50ddd2f3bdbe855c0647d608d646e9b7">parse</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&amp; spec)</td></tr>
<tr class="memdesc:a50ddd2f3bdbe855c0647d608d646e9b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in the fields of a color from a string specification.  <a href="#a50ddd2f3bdbe855c0647d608d646e9b7">More...</a><br /></td></tr>
<tr class="separator:a50ddd2f3bdbe855c0647d608d646e9b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a7a615c5f10511c9c5eeaffe2b5267"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a48a7a615c5f10511c9c5eeaffe2b5267">to_string</a> () const </td></tr>
<tr class="memdesc:a48a7a615c5f10511c9c5eeaffe2b5267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a textual specification of <em>color</em> in the hexadecimal form <code>#rrrrggggbbbb</code>, where <code>r</code>, <code>g</code> and <code>b</code> are hex digits representing the red, green, and blue components respectively.  <a href="#a48a7a615c5f10511c9c5eeaffe2b5267">More...</a><br /></td></tr>
<tr class="separator:a48a7a615c5f10511c9c5eeaffe2b5267"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3c62b7e11be9573a7abb181911d428ff"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a3c62b7e11be9573a7abb181911d428ff">get_type</a> ()</td></tr>
<tr class="memdesc:a3c62b7e11be9573a7abb181911d428ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#a3c62b7e11be9573a7abb181911d428ff">More...</a><br /></td></tr>
<tr class="separator:a3c62b7e11be9573a7abb181911d428ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a66f2e464c29b4f2151f45d0ace07751b"><td class="memItemLeft" align="right" valign="top">PangoColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#a66f2e464c29b4f2151f45d0ace07751b">gobject_</a></td></tr>
<tr class="separator:a66f2e464c29b4f2151f45d0ace07751b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:aa585f53d57166edb71812c03458876a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Color.html">Pango::Color</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#aa585f53d57166edb71812c03458876a9">wrap</a> (PangoColor* object)</td></tr>
<tr class="separator:aa585f53d57166edb71812c03458876a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad41a9f5d271ca6604c72355efc473f86"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classPango_1_1Color.html">Pango::Color</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1Color.html#ad41a9f5d271ca6604c72355efc473f86">wrap</a> (const PangoColor* object)</td></tr>
<tr class="separator:ad41a9f5d271ca6604c72355efc473f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classPango_1_1Color.html" title="A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. ">Pango::Color</a> is used to represent a color in an uncalibrated RGB colorspace. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a12f95f79866c07c40a940835d07e003e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::Color </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab84f4a74bac5eec76a6b9fc90e3f0f20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::Color </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1Color.html">Color</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aba9add0c20ac33c2e68c3b204e22b94d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::Color </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6d246bc3212fdfe1d4782ca4fab9d3c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::Color </td>
          <td>(</td>
          <td class="paramtype">const PangoColor *&#160;</td>
          <td class="paramname"><em>gobject</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2cf3699a92cc30b45eb2f2830b3c102a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Pango::Color::get_blue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the blue component of the color. </p>
<dl class="section return"><dt>Returns</dt><dd>The blue component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </dd></dl>

</div>
</div>
<a class="anchor" id="a0f8e43e280f7c724ae2f8bd73e920206"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Pango::Color::get_green </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the green component of the color. </p>
<dl class="section return"><dt>Returns</dt><dd>The green component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </dd></dl>

</div>
</div>
<a class="anchor" id="a474701a8464db98dd1c7d783bdbab5a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint16 Pango::Color::get_red </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the red component of the color. </p>
<dl class="section return"><dt>Returns</dt><dd>The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </dd></dl>

</div>
</div>
<a class="anchor" id="a3c62b7e11be9573a7abb181911d428ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Pango::Color::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a class="anchor" id="adcfaad17d12c04fd76d38e37124058c4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoColor* Pango::Color::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="aa726c32020299eb047c907076fb50a77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const PangoColor* Pango::Color::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. </p>

</div>
</div>
<a class="anchor" id="a82d3ad96a05beadaa84d374efec4757b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="ab07705a087ad0ddac653ba7b345e315d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Pango::Color::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tests whether the <a class="el" href="classPango_1_1Color.html" title="A Pango::Color is used to represent a color in an uncalibrated RGB colorspace. ">Color</a> is valid. </p>

</div>
</div>
<a class="anchor" id="acb675e1935cce41db91dffd06e3e0d44"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Color.html">Color</a>&amp; Pango::Color::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPango_1_1Color.html">Color</a>&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8be464f88a3cc745bd9389136ea1732e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Color.html">Color</a>&amp; Pango::Color::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPango_1_1Color.html">Color</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a50ddd2f3bdbe855c0647d608d646e9b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Pango::Color::parse </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>spec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill in the fields of a color from a string specification. </p>
<p>The string can either one of a large set of standard names. (Taken from the X11 &lt;filename&gt;rgb.txt&lt;/filename&gt; file), or it can be a hex value in the form '#rgb' '#rrggbb' '#rrrgggbbb' or '#rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is '#fff' '#ffffff' '#fffffffff' and '#ffffffffffff')</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">spec</td><td>A string specifying the new color. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if parsing of the specifier succeeded, otherwise false. </dd></dl>

</div>
</div>
<a class="anchor" id="a1fb60c718d3a0f0444b1dc3dc830ad0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Color::set_blue </td>
          <td>(</td>
          <td class="paramtype">const guint16 &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the blue component of the color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The blue component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae3f87922ab69cc79ab13cf15455be6b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Color::set_green </td>
          <td>(</td>
          <td class="paramtype">const guint16 &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the green component of the color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The green component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a772e0ddc34294b563275328cddef6386"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Pango::Color::set_red </td>
          <td>(</td>
          <td class="paramtype">const guint16 &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the red component of the color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The red component of the color. This is a value between 0 and 65535, with 65535 indicating full intensity. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a48a7a615c5f10511c9c5eeaffe2b5267"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> Pango::Color::to_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a textual specification of <em>color</em> in the hexadecimal form <code>#rrrrggggbbbb</code>, where <code>r</code>, <code>g</code> and <code>b</code> are hex digits representing the red, green, and blue components respectively. </p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000001">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>A newly-allocated text string. </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="aa585f53d57166edb71812c03458876a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPango_1_1Color.html">Pango::Color</a>&amp; wrap </td>
          <td>(</td>
          <td class="paramtype">PangoColor *&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<a class="anchor" id="ad41a9f5d271ca6604c72355efc473f86"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classPango_1_1Color.html">Pango::Color</a>&amp; wrap </td>
          <td>(</td>
          <td class="paramtype">const PangoColor *&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a66f2e464c29b4f2151f45d0ace07751b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">PangoColor Pango::Color::gobject_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 19 2016 15:59:16 for pangomm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>