🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5557

UserPaths on the NeXT

#5557
From: Bill Edney
Date: Fri, 03 May 1991 22:45
22 lines
1542 bytes
To All -
I am trying to use the Display PostScript operators "inufill" and "inustroke"  
to test to see if a point is in a given user path (actually I'm using the  
trivial wraps PSinufill and PSinustroke.) I am using the UserPath code given in  
Bruce Blumberg's "Lines" example. The only problem is that Bruce uses a pointer  
to float to represent his coordinates in the path and PSinufill and PSinustroke  
want an array of char to represent these coordinates. How do I convert?? Code  
snippets would be greatly appreciated. (I've talked to people at NeXT and it  
seems nobody has used these two operators. They aren't in any of the Examples  
or any other source code I've been able to grab off of the Net. I would really  
appreciate any help on this from anyone out there. I've been banging my head on  
this for awhile (and it's starting to hurt, even with my thick skull!!). If you  
could e-mail me any suggestions at: bedney@monolith.lanl.gov, I sure would  
appreciate it.

Thanks.

- Bill Edney
- Los Alamos National Laboratory

"I don't speak for my employer and they don't speak for me. Kind of a nice  
arrangement."
Technical Details
Message-ID: <23178@lanl.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!cmcl2!lanl!bedney@lanl.gov

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!cmcl2!lanl!bedney@lanl.gov
From: bedney@lanl.gov (Bill Edney)
Newsgroups: comp.lang.postscript
Subject: UserPaths on the NeXT
Keywords: userpath,NeXT,DisplayPS
Message-ID: <23178@lanl.gov>
Date: 3 May 91 22:45:50 GMT
Sender: news@lanl.gov
Lines: 22