home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!usc!ucla-cs!ucla-mic!ucla-physics!mmccarri
- From: mmccarri@physics.ucla.edu (Mike McCarrick)
- Subject: How do I rotate text or a bitmap?
- Message-ID: <1993Jan7.211926.11912@physics.ucla.edu>
- Organization: UCLA Department of Physics
- Date: Thu, 7 Jan 93 21:19:26 GMT
- Lines: 20
-
- I could rotate a bitmap pixel by pixel, but it seems like a
- lot of work given the various color formats. Is there an
- easier (and faster) way?
-
- Speaking of bitmaps, I am drawing a large, multi-color bitmap
- (a frequeny-time spectrogram) using the Rectangle() function
- to fill in each df dt block. This also seems like too much
- work since I have to create a pen and a brush with the desired
- color, select these objects, draw the rectangle, and then delete
- both objects. This is repeated 100,000 times or so and is very
- slow. I experimented with the SetPixel() function instead, but
- it is even slower! Also, SetPixel() will not dither the color
- if I am running on a paletteless display. Any suggestions?
-
- Thanks,
- -Mike-
- --
- Dr. Michael McCarrick UCLA Department of Physics
- Plasma Physics Lab 405 Hilgard Avenue
- mmccarri@physics.ucla.edu Los Angeles, CA 90024
-