1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523
|
<!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"/>
<title>GtkDatabox: gtk/gtkdatabox_graph.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">GtkDatabox
</div>
<div id="projectbrief">A set of GTK+ widgets to display large amounts of numerical data quickly and easily.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('gtkdatabox__graph_8c.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">gtk/gtkdatabox_graph.c File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include <<a class="el" href="gtkdatabox__graph_8h_source.html">gtkdatabox_graph.h</a>></code><br/>
<code>#include <gtk/gtkstyle.h></code><br/>
<code>#include <gtk/gtkgc.h></code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for gtkdatabox_graph.c:</div>
<div class="dyncontent">
<div class="center"><img src="gtkdatabox__graph_8c__incl.png" border="0" usemap="#gtk_2gtkdatabox__graph_8c" alt=""/></div>
<map name="gtk_2gtkdatabox__graph_8c" id="gtk_2gtkdatabox__graph_8c">
<area shape="rect" id="node3" href="gtkdatabox__graph_8h.html" title="gtkdatabox_graph.h" alt="" coords="148,83,284,112"/><area shape="rect" id="node11" href="gtkdatabox_8h.html" title="gtkdatabox.h" alt="" coords="344,160,440,189"/><area shape="rect" id="node13" href="gtkdatabox__typedefs_8h.html" title="gtkdatabox_typedefs.h" alt="" coords="181,237,336,267"/><area shape="rect" id="node17" href="gtkdatabox__ruler_8h.html" title="gtkdatabox_ruler.h" alt="" coords="360,237,488,267"/><area shape="rect" id="node22" href="gtkdatabox__scale_8h.html" title="gtkdatabox_scale.h" alt="" coords="317,315,451,344"/></map>
</div>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__GtkDataboxGraphPrivate.html">_GtkDataboxGraphPrivate</a></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <a class="el" href="gtkdatabox__graph_8c.html#a99fb83031ce9923c84392b4e92f956b5af42331660d769fa0d6d73f153ddea9c5">GRAPH_COLOR</a> = 1,
<a class="el" href="gtkdatabox__graph_8c.html#a99fb83031ce9923c84392b4e92f956b5a28f45c85d528a3197dea802afade39ba">GRAPH_SIZE</a>,
<a class="el" href="gtkdatabox__graph_8c.html#a99fb83031ce9923c84392b4e92f956b5afd11fffd90b84b811e26175ffbe43393">GRAPH_HIDE</a>
}</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkGC * </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a13c7918cf5363db6cc594bf1a381b081">gtk_databox_graph_create_gc</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> *box)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GType </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#acdfa9226b5730c39f9060f72a5b44eaa">gtk_databox_graph_get_type</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#ab6a0b370f18338b1aef0116f21907584">gtk_databox_graph_draw</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> *box)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gint </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#ac39b934ccd3e576313a11d1288cfb10f">gtk_databox_graph_calculate_extrema</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, gfloat *min_x, gfloat *max_x, gfloat *min_y, gfloat *max_y)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#aa114051fbdb1729e7f062558fe504a4f">gtk_databox_graph_set_color</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, GdkColor *color)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkColor * </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a6b771b211e918a7b9a6100a37061d1ab">gtk_databox_graph_get_color</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a4733145428b179f810735d9c848485a3">gtk_databox_graph_set_size</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, gint size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gint </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a1af5bcf7d450166c651103e923a7cac4">gtk_databox_graph_get_size</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a2d81a2fdce4974a1c6f9fd45960590c8">gtk_databox_graph_set_gc</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, GdkGC *gc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkGC * </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a39260b1c2cfb2f5110869eb98d0c1ad2">gtk_databox_graph_get_gc</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#a3b567cebccbe73606b0407afa1529bc0">gtk_databox_graph_set_hide</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph, gboolean hide)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">gboolean </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkdatabox__graph_8c.html#afa8f43f2d40e60043a4e91cc55dbcbca">gtk_databox_graph_get_hide</a> (<a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> *graph)</td></tr>
</table>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a99fb83031ce9923c84392b4e92f956b5"></a><!-- doxytag: member="gtkdatabox_graph.c::@2" ref="a99fb83031ce9923c84392b4e92f956b5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a99fb83031ce9923c84392b4e92f956b5af42331660d769fa0d6d73f153ddea9c5"></a><!-- doxytag: member="GRAPH_COLOR" ref="a99fb83031ce9923c84392b4e92f956b5af42331660d769fa0d6d73f153ddea9c5" args="" -->GRAPH_COLOR</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a99fb83031ce9923c84392b4e92f956b5a28f45c85d528a3197dea802afade39ba"></a><!-- doxytag: member="GRAPH_SIZE" ref="a99fb83031ce9923c84392b4e92f956b5a28f45c85d528a3197dea802afade39ba" args="" -->GRAPH_SIZE</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a99fb83031ce9923c84392b4e92f956b5afd11fffd90b84b811e26175ffbe43393"></a><!-- doxytag: member="GRAPH_HIDE" ref="a99fb83031ce9923c84392b4e92f956b5afd11fffd90b84b811e26175ffbe43393" args="" -->GRAPH_HIDE</em> </td><td>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ac39b934ccd3e576313a11d1288cfb10f"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_calculate_extrema" ref="ac39b934ccd3e576313a11d1288cfb10f" args="(GtkDataboxGraph *graph, gfloat *min_x, gfloat *max_x, gfloat *min_y, gfloat *max_y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">gint <a class="el" href="gtkdatabox__graph_8h.html#ac39b934ccd3e576313a11d1288cfb10f">gtk_databox_graph_calculate_extrema</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gfloat * </td>
<td class="paramname"><em>min_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gfloat * </td>
<td class="paramname"><em>max_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gfloat * </td>
<td class="paramname"><em>min_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gfloat * </td>
<td class="paramname"><em>max_y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_calculate_extrema: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : Will be filled with the lowest x value of the dataset : Will be filled with the highest x value of the dataset : Will be filled with the lowest y value of the dataset : Will be filled with the highest y value of the dataset</p>
<p>Virtual function which determines the minimum and maximum x and y values of the values of this <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object if applicable (there are graphs which do not contain data).</p>
<p>Return value: 0 on success, -1 if no data is available, </p>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="gtkdatabox__graph_8c_ac39b934ccd3e576313a11d1288cfb10f_icgraph.png" border="0" usemap="#gtkdatabox__graph_8c_ac39b934ccd3e576313a11d1288cfb10f_icgraph" alt=""/></div>
<map name="gtkdatabox__graph_8c_ac39b934ccd3e576313a11d1288cfb10f_icgraph" id="gtkdatabox__graph_8c_ac39b934ccd3e576313a11d1288cfb10f_icgraph">
<area shape="rect" id="node3" href="gtkdatabox_8h.html#aebe5c38bf9f4c8a91499b684cb600301" title="gtk_databox_calculate_extrema" alt="" coords="300,5,505,35"/><area shape="rect" id="node5" href="gtkdatabox_8h.html#a4c920250dd54fb417154b513a5597083" title="gtk_databox_auto_rescale" alt="" coords="556,5,729,35"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="a13c7918cf5363db6cc594bf1a381b081"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_create_gc" ref="a13c7918cf5363db6cc594bf1a381b081" args="(GtkDataboxGraph *graph, GtkDatabox *box)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdkGC* <a class="el" href="gtkdatabox__graph_8h.html#a13c7918cf5363db6cc594bf1a381b081">gtk_databox_graph_create_gc</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> * </td>
<td class="paramname"><em>box</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_create_gc: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : A <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> object</p>
<p>Virtual function which creates a graphics context for the .</p>
<p>Typically called by derived graph objects when the graphics context is needed for the first time.</p>
<p>Return value: The new graphics context. </p>
</div>
</div>
<a class="anchor" id="ab6a0b370f18338b1aef0116f21907584"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_draw" ref="ab6a0b370f18338b1aef0116f21907584" args="(GtkDataboxGraph *graph, GtkDatabox *box)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="gtkdatabox__graph_8h.html#ab6a0b370f18338b1aef0116f21907584">gtk_databox_graph_draw</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> * </td>
<td class="paramname"><em>box</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_draw: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : A <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> object</p>
<p>Virtual function which draws the <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> on the drawing area of the GtkDatabox object.</p>
<p>Typically this function is called by <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> objects. </p>
</div>
</div>
<a class="anchor" id="a6b771b211e918a7b9a6100a37061d1ab"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_get_color" ref="a6b771b211e918a7b9a6100a37061d1ab" args="(GtkDataboxGraph *graph)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdkColor* <a class="el" href="gtkdatabox__graph_8h.html#a6b771b211e918a7b9a6100a37061d1ab">gtk_databox_graph_get_color</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_get_color: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object</p>
<p>Gets the current color of the graph elements (e.g. points).</p>
<p>Return value: The color of the graph. </p>
</div>
</div>
<a class="anchor" id="a39260b1c2cfb2f5110869eb98d0c1ad2"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_get_gc" ref="a39260b1c2cfb2f5110869eb98d0c1ad2" args="(GtkDataboxGraph *graph)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdkGC* <a class="el" href="gtkdatabox__graph_8h.html#a39260b1c2cfb2f5110869eb98d0c1ad2">gtk_databox_graph_get_gc</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_get_gc: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object</p>
<p>Gets the current graphics context of the graph.</p>
<p>Return value: The current graphics context of the graph. </p>
</div>
</div>
<a class="anchor" id="afa8f43f2d40e60043a4e91cc55dbcbca"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_get_hide" ref="afa8f43f2d40e60043a4e91cc55dbcbca" args="(GtkDataboxGraph *graph)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">gboolean <a class="el" href="gtkdatabox__graph_8h.html#afa8f43f2d40e60043a4e91cc55dbcbca">gtk_databox_graph_get_hide</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_get_hide: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object</p>
<p>Gets the current "hide" status.</p>
<p>Return value: Whether the graph is hidden (true) or not (false). </p>
</div>
</div>
<a class="anchor" id="a1af5bcf7d450166c651103e923a7cac4"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_get_size" ref="a1af5bcf7d450166c651103e923a7cac4" args="(GtkDataboxGraph *graph)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">gint <a class="el" href="gtkdatabox__graph_8h.html#a1af5bcf7d450166c651103e923a7cac4">gtk_databox_graph_get_size</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_get_size: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object</p>
<p>Gets the size of the graph elements (e.g. the line width).</p>
<p>Return value: size of the graph elements </p>
</div>
</div>
<a class="anchor" id="acdfa9226b5730c39f9060f72a5b44eaa"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_get_type" ref="acdfa9226b5730c39f9060f72a5b44eaa" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GType <a class="el" href="gtkdatabox__graph_8h.html#acdfa9226b5730c39f9060f72a5b44eaa">gtk_databox_graph_get_type</a> </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="aa114051fbdb1729e7f062558fe504a4f"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_set_color" ref="aa114051fbdb1729e7f062558fe504a4f" args="(GtkDataboxGraph *graph, GdkColor *color)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="gtkdatabox__graph_8h.html#aa114051fbdb1729e7f062558fe504a4f">gtk_databox_graph_set_color</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GdkColor * </td>
<td class="paramname"><em>color</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_set_color: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : Color which is to be used by the graph object</p>
<p>Sets the color which the <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object is supposed to be using when drawing itself. </p>
</div>
</div>
<a class="anchor" id="a2d81a2fdce4974a1c6f9fd45960590c8"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_set_gc" ref="a2d81a2fdce4974a1c6f9fd45960590c8" args="(GtkDataboxGraph *graph, GdkGC *gc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="gtkdatabox__graph_8h.html#a2d81a2fdce4974a1c6f9fd45960590c8">gtk_databox_graph_set_gc</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GdkGC * </td>
<td class="paramname"><em>gc</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_set_gc: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : Graphics contex for the graph object</p>
<p>Sets the graphics context which the <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object is supposed to be using when drawing itself. </p>
</div>
</div>
<a class="anchor" id="a3b567cebccbe73606b0407afa1529bc0"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_set_hide" ref="a3b567cebccbe73606b0407afa1529bc0" args="(GtkDataboxGraph *graph, gboolean hide)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="gtkdatabox__graph_8h.html#a3b567cebccbe73606b0407afa1529bc0">gtk_databox_graph_set_hide</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gboolean </td>
<td class="paramname"><em>hide</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_set_hide: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : Declares whether should be hidden (true) or not (false).</p>
<p>Hidden graphs are not shown, when the <a class="el" href="gtkdatabox__typedefs_8h.html#a2dd8fe6143426c8a74158e7ae8120110">GtkDatabox</a> containing them is redrawn. </p>
</div>
</div>
<a class="anchor" id="a4733145428b179f810735d9c848485a3"></a><!-- doxytag: member="gtkdatabox_graph.c::gtk_databox_graph_set_size" ref="a4733145428b179f810735d9c848485a3" args="(GtkDataboxGraph *graph, gint size)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="gtkdatabox__graph_8h.html#a4733145428b179f810735d9c848485a3">gtk_databox_graph_set_size</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> * </td>
<td class="paramname"><em>graph</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">gint </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>gtk_databox_graph_set_size: : A <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object : Size of graph elements for the graph object</p>
<p>Sets the size (e.g. line width) which the <a class="el" href="gtkdatabox__typedefs_8h.html#a060721771772bfa7ea3c1065a7074f97">GtkDataboxGraph</a> object is supposed to be using when drawing itself. </p>
</div>
</div>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="gtkdatabox__graph_8c.html">gtkdatabox_graph.c</a> </li>
<li class="footer">Generated on Thu Nov 8 2012 22:01:18 for GtkDatabox by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
</ul>
</div>
</body>
</html>
|