Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!spence From: spence@cbmvax.commodore.com (Spencer Shanson) Newsgroups: comp.sys.amiga.programmer Subject: Re: Rotating text Message-ID: <18981@cbmvax.commodore.com> Date: 14 Feb 91 21:22:28 GMT References: <20898@wehi.dn.mu.oz> Reply-To: spence@cbmvax.commodore.com (Spencer Shanson) Organization: Commodore, West Chester, PA Lines: 30 In article <20898@wehi.dn.mu.oz> BAXTER_A@wehi.dn.mu.oz writes: >In article , rg20+@andrew.cmu.edu (Rick Francis Golembiewski) writes: >> I'm looking for a legal way of rotationg text 90 degrees, (I'de like >> to use the blitter for speed if it's practical), I'de appreciate it >> if anyone has some ideas (example code would be even better). I know >> how to do a rotation (ie via matrix transformations), but I'de like >> something that would be faster on the amiga. >> >> // Rick Golembiewski rg20+@andrew.cmu.edu \\ >> \\ #include stddisclaimer.h // >> \\ "I never respected a man who could spell" // >> \\ -M. Twain // > I would like this too, if it works with Amiga fonts. > The current Hardware Manual from Addison Wesley gives example code to rotate a single row bt 90degrees. You could use this as a basis. Remember though, that as this code hits the hardware directly, you must eensure you OwnBlitter(), WaitBlit(), DisownBlit() to be multi-tasking friendly. >Reagrds Alan -- --------------------------------------------------------------------------- Spencer Shanson - Amiga Software Engineer | email: spence@commodore.COM | or uunet!cbmvax!spence All opinions expressed are my own, and do not | "You know my methods. Apply (necessarily) represent those of Commodore. | them" -- Sir Arthur Conan | Doyle - 'The Sign of Four'