.\" 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_SETFONT" "3" "26 May 2003" "" "" .SH NAME plot_setfont \- sets the starting point of a curve .SH SYNOPSIS .nf #include<libmplot.h> void panda_setfont (plot_state *state, char *fontpath, int size); .fi .SH "DESCRIPTION" .PP Set the font and size to use to text drawing operations. The fontpath arguement is the path to a font which FreeType is capable of opening (for example PostScript fonts, and TrueType fonts -- refer to http://www.freetype.org for more details). The size is the point size of the text to be drawn. .SH "RETURNS" .PP A negative number on failure, 0 if all is well .SH "EXAMPLE" .nf #include<libmplot.h> plot_state *graph; if((graph = plot_newplot(400, 300)) == NULL){ ... error ... } plot_setfont(graph, "windings.ttf", 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.