rs4u#@ANDREW.CMU.EDU.UUCP (03/31/87)
How does one draw rotated text (as in MacDraw)? I am about to start hacking at it, but I'd welcome some suggestions... --Rich
jww@sdcsvax.UUCP (04/01/87)
There are two things to do with rotated text. The first is displaying it on the screen and for the ImageWriter. The second is keeping it as text for the LaserWriter. For the first, just image it off screen, use the measuring trap and the ascent/descent information to build a boundary rectangle. Then just rotate the bits using any transposition algorithm (see, for example 'PICT Rotation with Copybits', Bob Denny, MacTutor 11/85). Equally important is to keep it as text in the QD picture, so the LW will print it right. Basically, you want three picture comments--TextBegin, TextCenter and TextEnd. This allows you to print Helvetica rotated 90 degrees at 300 dpi. See Tech Note #91 (optimizing for LW) and Tech Note #27 (because this is what MacDraw does). -- Joel West {ucbvax,ihnp4}!sdcsvax!jww (ihnp4!gould9!joel once I fix news) jww@sdcsvax.ucsd.edu if you must