Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!rice!sun-spots-request From: anh%prg.oxford.ac.uk@nss.cs.ucl.ac.uk Newsgroups: comp.sys.sun Subject: pw_line imaging facility? Message-ID: <8901131819.AA17306@uk.ac.oxford.prg.client14> Date: 18 Jan 89 06:46:14 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu Original-Date: Fri, 13 Jan 89 18:19:22 GMT X-Sun-Spots-Digest: Volume 7, Issue 109, message 4 of 20 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 ]]