sdh@joevax.UUCP (The Doctor) (08/19/86)
posted to net.sources.mac is C source to surround a line with a region defined as a rectangle 2 pixels wider on each side. A few notes, in my original reply to the question, I assumed you could use "improper" rectangles. This is not the case. The routine probably does not do what the original question wants, what does what it asks. A rectangle is defined so that 2 opposite corners are the endpoints of a line, then expands the rect 2 pixels on a side and makes it a Quickdraw region. If that region is framed, it draws the frame INSIDE the rectangle definition, making it tangent to the line, instead of disjoint. Steve Hawley joevax!sdh