Path: utzoo!utgpu!watserv1!watmath!att!rutgers!usc!samsung!uunet!munnari.oz.au!uniwa!vaxa.cc.uwa.oz.au!d_volaric From: d_volaric@vaxa.cc.uwa.oz.au Newsgroups: comp.sys.mac.programmer Subject: Re: Text Orientation Message-ID: <1990Jul13.205755.1959@vaxa.cc.uwa.oz.au> Date: 13 Jul 90 12:57:55 GMT References: Organization: University of Western Australia Lines: 22 In article , gb2a+@andrew.cmu.edu (George J. Baxter) writes: > Hey guys and gals, > Question: I'm writing a plotting routine for a C program, but can't > seem to figure out how to flip the Y axis labelling so that the text is > oriented sideways. Is there a way, and how the heck.. ???? > George, late for dinner again. The only way we can think of is to write into an off-screen bitmap, rotate the bitmap and copybits' it onto the screen (Easy isn't it?). How do you rotate bitmaps? Well we don't really know, but there is a very clever algorithm describes in MacTutor/Best of MacTutor somewhere (with code in C)... John and Darko. -- ------------------------------------------------------------------------------- D V O R A K C O M P U T E R Phone : +61 9 330 2876 The Bunker, Rear 57 Holman Street, Alfred Cove, Western Australia, 6154. P.O. Box 315, Melville, WA, 6156. -------------------------------------------------------------------------------