.\" 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_RECTANGLE" "3" "26 May 2003" "" "" .SH NAME plot_rectangle \- draw a rectangle .SH SYNOPSIS .nf #include<libmplot.h> void plot_rectangle plot_rectanglerot (plot_state *state, unsigned int x1, unsigned int y1, unsigned int x2, unsigned int y2); .fi .SH "DESCRIPTION" .PP Draw a rectangle on the plot. x1, y1 is the top left corner, and x2, y2 is the bottom right corner of the rectangle. After this call you can use plot_strokeline and plot_fillline to actaully affect the raster. .SH "RETURNS" .PP Nothing .SH "EXAMPLE" .nf #include<libmplot.h> plot_state *graph; if((graph = plot_newplot(400, 300)) == NULL){ ... error ... } plot_rectangle(graph, 10, 10, 20, 30); .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.