[comp.sys.mac.programmer] Vertical Text?

cpyang@ccnysci.UUCP (Chao Ping Yang) (12/20/88)

	Can somebody tell me how to draw Text with a rotation?
	Or is there a way to CopyBits with a rotation?

	Simplest of all, how is Text drawn vertically?

	==Chaoping

	

casseres@Apple.COM (David Casseres) (12/21/88)

In article <1082@ccnysci.UUCP> cpyang@ccnysci.UUCP (Chao Ping Yang) writes:
>
>	Can somebody tell me how to draw Text with a rotation?
>	Or is there a way to CopyBits with a rotation?

The Toolbox provides no way to do this.  You have to draw the text
in normal orientation in an offscreen bitmap, then rotate the image
into another offscreen bitmap by doing tiresome bit manipulations.

A good graphics text should give you an algorithm or two, especially
for the 90-degree rotations.  The hard part is to make the rotation
fast.

David Casseres