[comp.lang.postscript] UserPaths on the NeXT

bedney@lanl.gov (Bill Edney) (05/04/91)

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."