On Nov 14, 2004, at 10:59 PM, Bryan Pietrzak wrote:
I have a simple problem (riiight ;) I want to draw "large" text as
part of my custom hiview. In this case, "large" is generally about 33%
larger than the font used in the menu bar. Specifically, it's 24 pt
Verdana. The text will be in CFStrings and I don't know (or care) what
the encoding is.
So... how can I do this without relying on the QD port? Sure, I can
set the font and size in the port and use kThemeCurrentPortFont along
with HIThemeDrawTextBox, but I'm trying to move away from port usage
where possible (and practical).
I would do this by first setting the context's CTM to scale the text
size appropriately, and then drawing with HIThemeDrawTextBox and a
standard theme font.
-eric
_______________________________________________
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