Hi,
I need to render text supplied in a CGStringRef into a CGContextRef
into a rectangle and have it being wrapped to fit into this box.
Now while DrawThemeTextBox seems perfect for this task, it does not
seem to support using custom fonts with CGContextRefs.
kThemeCurrentPortFont could be a possible solution to my problem, but
it seems to be only available when using Quickdraw and since I'll be
using a CGContextRef obtained via CGBitmapContextCreate as destination
context, this does not really look like a solution.
Everything comes down to this: can I use DrawThemeTextBox with a
custom font setting with a CGBitmapContextCreate and without invoking
Quickdraw functions? If not, is there another function available in OS
X that I can use for this purpose?
Any help would be greatly appreciated.
Best regards,
Felix Schwarz
_______________________________________________
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