.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "PLOT_SETLINEDASH" "3" "26 May 2003" "" ""
.SH NAME
plot_setlinedash \- sets the dashing pattern used to stroke lines
.SH SYNOPSIS
.nf
#include<libmplot.h>
void panda_setlinedash(plot_state *state, int length, char *dash);
.fi
.SH "DESCRIPTION"
.PP
This function takes the length of the dashing pattern (in bytes), and the dashing pattern itself. The dashing pattern is expressed in the form of a char * where a given byte is \\0 if the point is not to be drawn, or \\1 if it is to be drawn. See the example for an example...
This dashing pattern is applied by cycling through the pattern, one step per pixel drawn. This might not have the expected effect for think lines.
.SH "RETURNS"
.PP
Nothing
.SH "EXAMPLE"
.nf
#include<libmplot.h>
plot_state *graph;
if((graph = plot_newplot(400, 300)) == NULL){
... error ...
}
plot_setlinedash(graph, 4, "\\0\\0\\1\\1");
.fi
.SH "VERSION"
.PP
This documentation was generated for \fBlibplot\fR 0.3 by \fBautodocbook\fR (http://www.stillhq.com).
.SH "AUTHOR"
.PP
\fBlibplot\fR 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.
.SH "BUGS"
.PP
There are no known bugs in \fBlibplot\fR. If you find one, please contact mikal@stillhq.com and let me know.