Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-10-10

Build Requirements: N/A

Runtime Requirements: Carbon (both 9 and X) QuickDraw, CarbonLib

View Source Code:

Download Sample (“RotateString.zip”, 50.7K)
Download Sample (“RotateString.dmg”, 105.5K)



Description

This sample has been updated for the Carbon API. This contains the code for rotating a string 90 degrees counter clockwise. This one is easy to use. Just call RotateString("pRotate Me",&rotatedBitMap), and you will get back a BitMap the size of the text that you can CopyBits anywhere you like. RotateString will allocate the destination BitMap for you. Requirements: QuickDraw, CarbonLib Keywords: RotateString, rotate, Carbon

Document Revision History

Date Notes
2003-10-10First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.