plot_setlinecolor
3
plot_setlinecolor
sets the colour that the finished polygon will be stroked with
#include<libmplot.h>
void plot_setlinecolor (plot_state *state, int red, int green, int blue);
DESCRIPTION
Set the colour to draw the polygon with when the <command>plot_strokeline</command> function is called.
RETURNS
Nothing
EXAMPLE
#include<libmplot.h>
plot_state *graph;
if((graph = plot_newplot(400, 300)) == NULL){
... error ...
}
plot_setlinecolor(state, 255, 0, 0); // red
VERSION
This documentation was generated for libplot 0.3 by autodocbook (http://www.stillhq.com).
AUTHOR
libplot 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.
BUGS
There are no known bugs in libplot. If you find one, please contact mikal@stillhq.com and let me know.