blob: 43fd83f1cfe8c33c522fc6d7cfc7996e794ad7cf (
plain) (
tree)
|
|
.TH RTGRPBLIB_SET_DRAFTNESS 3 LIBRIFUNKTIONSTECKENSNITTSGLYFRASTERISERINGSPROGRAMBIBLIOTEKET
.SH NAME
rtgrpblib_set_draftness - Reconfigure a drawing buffer with a new draftness value
.SH DESCRIPTION
.LP
.nf
#include <librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket.h>
void rtgrpblib_set_draftness(RTGRPBLIB_RASTER *\fIraster\fP, double \fIdraftness\fP);
.fi
.PP
Link with
.IR "-lrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket" .
.SH DESCRIPTION
The
.BR rtgrpblib_set_draftness ()
function changes that draftness value of drawing buffer
.I raster
to the value specified in the
.I draftness
parameter. The value must be positive, and shall not be
unreasonably small, lest drawing functions may get stuck.
The default value is 0.5.
.PP
When drawing a curve, the size of each step the library
takes will be proportional to the draftness value, but
will also depend on other factors. Doubling the draftness
value with halve (disregarind overheads) the time it takes
to draw any given curve.
.SH RETURN VALUES
None.
.SH ERRORS
None.
.SH SEE ALSO
.BR librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket (7),
.BR rtgrpblib_create_raster (3),
.BR rtgrpblib_fill_shapes (3)
|