<!-- 

     This document is part of the libplot distribution, and is covered
     by the GNU GPL, a copy of which is in the file named COPYING inside the
     distribution.

     This program and it's documentation are distributed in the hope that 
     they will be useful,but WITHOUT ANY WARRANTY; without even the implied 
     warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
-->

<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">

<refentry id="plot_getraster">
<refmeta>
<refentrytitle>plot_getraster</refentrytitle>
<manvolnum>3</manvolnum>
</refmeta>

<refnamediv>
<refname>plot_getraster</refname>
<refpurpose>return a pointer the the raster we have drawn</refpurpose>
</refnamediv>

<refsynopsisdiv>
<synopsis>
 #include&amp;lt;libmplot.h&amp;gt;
 char *plot_getraster(plot_state *state);

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>DESCRIPTION</title>
<para>Returns the graph you have drawn.</para>
</refsect1>

<refsect1>
<title>RETURNS</title>
<para>Nothing</para>
</refsect1>

<refsect1>
<title>EXAMPLE</title>
<programlisting>
 #include&amp;lt;libmplot.h&amp;gt;
 plot_state *graph;
 char *raster;
 if((graph = plot_newplot(400, 300)) == NULL){
 ... error ...
 }
 ... drawing commands ...
 raster = plot_getraster(graph);
</programlisting>
</refsect1>


<refsect1>
    <title>VERSION</title>
    <para>
This documentation was generated for <command>libplot</command> 0.3 by <command>autodocbook</command> (http://www.stillhq.com).
    </para>
</refsect1>

<refsect1>
    <title>AUTHOR</title>
    <para>
<command>libplot</command> is under development by Michael Still (mikal@stillhq.com). All code is Copyright Michael Still 2002,  and is released under the GNU GPL. Code submissions are welcomed. Contact Michael at the address above if you have something you would like to contribute.
</para>
</refsect1>

<refsect1>
    <title>BUGS</title>
    <para>
There  are no known bugs in <command>libplot</command>. If you find one, please contact mikal@stillhq.com and let me know.
</para>
</refsect1>
</refentry>
