[comp.sys.sun] pw_line imaging facility?

anh%prg.oxford.ac.uk@nss.cs.ucl.ac.uk (01/18/89)

On page 96 of the Sunview Programmer's Guide (Revision A of 15/10/86) a
routine for drawing a solid or textured line between two points with a
"brush" of a specified width is described:

pw_line(pw, x0, y0, x1, y1, brush, tex, op)
	Pixwin			*pw;
	int			x0, y0, x1, y1;
	struct pr_brush		*brush;
	struct pr_texture	*tex;

Question:

Does this routine function? And if so, can anyone provide an example of a
brush and a texture?

Thanks in advance,	Alastair Horn

[[ Not too long ago, someone sent in a shar file that explained this
function by way of demonstration.  It is available in the archives under
"sun-source" as "linedemo.shar".  It is 12447 bytes long.  It can be
retrieved via anonymous FTP from the host "titan.rice.edu" or via the
archive server.  For more information about the archive server, send a
mail message containing the word "help" to the address
"archive-server@rice.edu".  --wnl ]]