| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
With ATSUI, you need to set the color using the ATSUI style attribute, kATSUColorTag or kATSURGBAlphaColorTag. Unlike CoreText which relies on the CGContext being already setup, ATSUI sets up the CGContext based on it's client's setting right before drawing and then returns the state back to what it was after it finishes drawing. So if you don't need to be backward compatible with the same code set, I'd make the move to CoreText rather than ATSUI if you're going through the trouble anyway. Dan On Aug 28, 2007
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden This email sent to email@hidden
| References: | |
| >How to draw 'outline' styled text using ATSU? (From: Sam <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.