.TH "PS_BEGIN_PATTERN" "3" .SH "NAME" PS_begin_pattern \(em Starts a new pattern .SH "SYNOPSIS" .PP #include .PP int PS_begin_pattern(PSDoc *psdoc, float width, float height, float xstep, float ystep, int painttype) .SH "DESCRIPTION" .PP A pattern can be thought of like a color for drawing and filling. Actually, \fBPS_setcolor\fP is used to apply a pattern. The pattern itself has given dimension an a stepping in horizontal and vertical direction. The stepping comes into effect when the area to be fill is larger than the pattern itself. In such a case the pattern will be repeated with a distance of \fBxstep\fR in horizontal and \fBystep\fR in vertical direction. .PP Each call of \fBPS_begin_pattern\fP must be accompanied by a call to \fBPS_end_pattern(3)\fP. .SH "RETURN VALUE" .PP Returns identifier of the pattern or zero in case of an error. The identifier is a positiv number greater 0. .SH "SEE ALSO" .PP PS_end_pattern(3), PS_set_color(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man