Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Lucida Grande 13 drawn with DrawText doesn't match OS controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lucida Grande 13 drawn with DrawText doesn't match OS controls



On Wednesday, July 11, 2001, at 09:12 PM, Scott Raney wrote:

Ah, would that be the same "DrawThemeTextBox" that the doc on
http://developer.apple.com/ says is "Under evaluation for Carbon. Not
available in Carbon."? I guess we could have just tried that, but
we've enough trouble with things that are supposed to work not working
without also trying things that are not supposed to work to see if in
fact they do ;-)

I apologize on behalf of the doc team for the docs. All of those "under evaluation" comments are supposed to be removed real soon now.

Just FYI: if it's the headers, you can use it. Anything that shipped in the headers with CarbonLib or 10.0 is not going away.

And this function might do in a pinch, it'd be much better to be able
to use other fonts/sizes/styles so that we don't have to special case
this.

You can use custom font/size/style with DrawThemeTextBox by specifying kThemeCurrentPortFont.

I don't suppose there's any way to use the Quartz drawing calls
directly from Carbon?

You can call CoreGraphics directly from any application if you want. It's just more work than using DrawThemeTextBox.

-eric




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.