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_SHADING(3) FreeBSD Library Functions Manual PS_SHADING(3)

      uwe@steinmann.cx     
UWE STEINMANN 2004Uwe SteinmannJuly 14, 2004;

PS_shading — Create shading

#include <pslib.h>

int PS_shading(PSDoc *psdoc, const char *shtype, float x0, float y0, float x1, float y1, float c1, float c2, float c3, float c4, const char *optlist)

This function creates a shading which can be used by PS_shfill(3) or PS_shading_pattern(3). The type of shading can be either `radial' or `axial'. Each shading starts with the current fill color and ends with the given color values passed in the parameters c1 to c4 (see PS_setcolor(3) for their meaning). The coordinates x0, y0, x1, y1 are the start and end point of the shading. If the shading is of type `radial' the option list must also contain the parameters r0 and r1 with the radius of the start and end circle.

The color of the shading can be in any color space except for `pattern'.

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

PS_shfill(3), PS_shading_pattern(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.