<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>GtkPlotCanvasLine</title> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="index.html" title="GtkExtra2 Reference Manual"> <link rel="up" href="ch01.html" title="Libraray Reference"> <link rel="prev" href="gtkextra-GtkPlotCanvasRectangle.html" title="GtkPlotCanvasRectangle"> <link rel="next" href="gtkextra-GtkPlotCanvasPixmap.html" title="GtkPlotCanvasPixmap"> <meta name="generator" content="GTK-Doc V1.11 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="chapter" href="ch01.html" title="Libraray Reference"> <link rel="chapter" href="objecttree.html" title="Object Hierarchy"> <link rel="index" href="api-index.html" title="API Index"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> <tr valign="middle"> <td><a accesskey="p" href="gtkextra-GtkPlotCanvasRectangle.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">GtkExtra2 Reference Manual</th> <td><a accesskey="n" href="gtkextra-GtkPlotCanvasPixmap.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr> <tr><td colspan="5" class="shortcuts"> <a href="#gtkextra-GtkPlotCanvasLine.synopsis" class="shortcut">Top</a> | <a href="#gtkextra-GtkPlotCanvasLine.description" class="shortcut">Description</a> </td></tr> </table> <div class="refentry" title="GtkPlotCanvasLine"> <a name="gtkextra-GtkPlotCanvasLine"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gtkextra-GtkPlotCanvasLine.top_of_page"></a>GtkPlotCanvasLine</span></h2> <p>GtkPlotCanvasLine</p> </td> <td valign="top" align="right"></td> </tr></table></div> <div class="refsynopsisdiv" title="Synopsis"> <a name="gtkextra-GtkPlotCanvasLine.synopsis"></a><h2>Synopsis</h2> <pre class="synopsis"> #include <gtkextra.h> enum <a class="link" href="gtkextra-GtkPlotCanvasLine.html#GtkPlotCanvasArrow" title="enum GtkPlotCanvasArrow">GtkPlotCanvasArrow</a>; GtkPlotCanvasChild * <a class="link" href="gtkextra-GtkPlotCanvasLine.html#gtk-plot-canvas-line-new" title="gtk_plot_canvas_line_new ()">gtk_plot_canvas_line_new</a> (<a class="link" href="gtkextra-GtkPlot.html#GtkPlotLineStyle" title="enum GtkPlotLineStyle">GtkPlotLineStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, const GdkColor *color, <a class="link" href="gtkextra-GtkPlotCanvasLine.html#GtkPlotCanvasArrow" title="enum GtkPlotCanvasArrow">GtkPlotCanvasArrow</a> arrow_mask); void <a class="link" href="gtkextra-GtkPlotCanvasLine.html#gtk-plot-canvas-line-set-attributes" title="gtk_plot_canvas_line_set_attributes ()">gtk_plot_canvas_line_set_attributes</a> (GtkPlotCanvasLine *line, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotLineStyle" title="enum GtkPlotLineStyle">GtkPlotLineStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, const GdkColor *color); void <a class="link" href="gtkextra-GtkPlotCanvasLine.html#gtk-plot-canvas-line-set-arrow" title="gtk_plot_canvas_line_set_arrow ()">gtk_plot_canvas_line_set_arrow</a> (GtkPlotCanvasLine *line, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> length, <a class="link" href="gtkextra-GtkPlotCanvasLine.html#GtkPlotCanvasArrow" title="enum GtkPlotCanvasArrow">GtkPlotCanvasArrow</a> mask); </pre> </div> <div class="refsect1" title="Description"> <a name="gtkextra-GtkPlotCanvasLine.description"></a><h2>Description</h2> <p> </p> </div> <div class="refsect1" title="Details"> <a name="gtkextra-GtkPlotCanvasLine.details"></a><h2>Details</h2> <div class="refsect2" title="enum GtkPlotCanvasArrow"> <a name="GtkPlotCanvasArrow"></a><h3>enum GtkPlotCanvasArrow</h3> <pre class="programlisting">typedef enum { GTK_PLOT_CANVAS_ARROW_NONE = 0, GTK_PLOT_CANVAS_ARROW_ORIGIN = 1 << 0, GTK_PLOT_CANVAS_ARROW_END = 1 << 1 } GtkPlotCanvasArrow; </pre> <p> </p> </div> <hr> <div class="refsect2" title="gtk_plot_canvas_line_new ()"> <a name="gtk-plot-canvas-line-new"></a><h3>gtk_plot_canvas_line_new ()</h3> <pre class="programlisting">GtkPlotCanvasChild * gtk_plot_canvas_line_new (<a class="link" href="gtkextra-GtkPlot.html#GtkPlotLineStyle" title="enum GtkPlotLineStyle">GtkPlotLineStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, const GdkColor *color, <a class="link" href="gtkextra-GtkPlotCanvasLine.html#GtkPlotCanvasArrow" title="enum GtkPlotCanvasArrow">GtkPlotCanvasArrow</a> arrow_mask);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>arrow_mask</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_canvas_line_set_attributes ()"> <a name="gtk-plot-canvas-line-set-attributes"></a><h3>gtk_plot_canvas_line_set_attributes ()</h3> <pre class="programlisting">void gtk_plot_canvas_line_set_attributes (GtkPlotCanvasLine *line, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotLineStyle" title="enum GtkPlotLineStyle">GtkPlotLineStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, const GdkColor *color);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> <hr> <div class="refsect2" title="gtk_plot_canvas_line_set_arrow ()"> <a name="gtk-plot-canvas-line-set-arrow"></a><h3>gtk_plot_canvas_line_set_arrow ()</h3> <pre class="programlisting">void gtk_plot_canvas_line_set_arrow (GtkPlotCanvasLine *line, <a class="link" href="gtkextra-GtkPlot.html#GtkPlotSymbolStyle" title="enum GtkPlotSymbolStyle">GtkPlotSymbolStyle</a> style, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> width, <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat" >gfloat</a> length, <a class="link" href="gtkextra-GtkPlotCanvasLine.html#GtkPlotCanvasArrow" title="enum GtkPlotCanvasArrow">GtkPlotCanvasArrow</a> mask);</pre> <p> </p> <div class="variablelist"><table border="0"> <col align="left" valign="top"> <tbody> <tr> <td><p><span class="term"><em class="parameter"><code>line</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td> <td> </td> </tr> <tr> <td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> <td> </td> </tr> </tbody> </table></div> </div> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.11</div> </body> </html>