GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PS_BEGIN_PATTERN(3) FreeBSD Library Functions Manual PS_BEGIN_PATTERN(3)

      uwe@steinmann.cx     
UWE STEINMANN 2003Uwe SteinmannMai 11, 2004;

PS_begin_pattern — Starts a new pattern

#include <pslib.h>

int PS_begin_pattern(PSDoc *psdoc, float width, float height, float xstep, float ystep, int painttype)

A pattern can be thought of like a color for drawing and filling. Actually, PS_setcolor 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 xstep in horizontal and ystep in vertical direction.

Each call of PS_begin_pattern must be accompanied by a call to PS_end_pattern(3).

Returns identifier of the pattern or zero in case of an error. The identifier is a positiv number greater 0.

PS_end_pattern(3), PS_set_color(3)

This manual page was written by Uwe Steinmann uwe@steinmann.cx.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.