★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/RotateString.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Graphics 2D: RotateString
ADC Membership Technical Business Join ADC Sitemap
Search
Graphics 2D
ADC Resources
Sample Code

RotateString

download (17.2 KB)

Version:

2.0.2

Date:

Wednesday, August 16, 2000

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




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE