🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7326

Finding clippath intersections

#7326
From: Russell J. Wilcox
Date: Thu, 21 Jul 1988 18:40
17 lines
1215 bytes
Does anybody out there have any ideas about finding points of
instersection between a shape and a clip path?  Among other uses,
I would like to be able to "clip off" the top half of a Times-Roman
"h" and also find the two points where the stem intersects the clipping
region.  This would allow me to discover the width of the stem (my 
application cannot automatically assume it is dealing with Times-Roman) 
and to use it as a starting point for further drawing.  

I think this is not a trivial problem, so even ideas about how to 
approach the problem would be welcome.  BTW, if it IS a trivial 
problem and I'm just being dense, please email me so the net doesn't
fill up with the same reply.

Hopeful of help,

-Russell Wilcox
 rjw@wjh12.harvard.edu
Technical Details
Message-ID: <258@wjh12.harvard.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!wjh12!rjw

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!wjh12!rjw
From: rjw@wjh12.harvard.edu (Russell J. Wilcox)
Newsgroups: comp.lang.postscript
Subject: Finding clippath intersections
Keywords: clip intersection
Message-ID: <258@wjh12.harvard.edu>
Date: 21 Jul 88 18:40:08 GMT
Reply-To: rjw@wjh12.UUCP (Russell J. Wilcox)
Organization: Harvard University, Cambridge MA
Lines: 17