drawing a string into an image
drawing a string into an image
- Subject: drawing a string into an image
- From: ber <email@hidden>
- Date: Thu, 19 Sep 2002 01:29:04 -0400
(duh, sent this from the wrong account so it may or may not show up
duped)
I want to draw a string into my application's icon image which I seem
to be able to do with
NSAttributedString's drawAtPoint: despite the fact the doc says "Don't
invoke this method
while no NSView is focused." I assume that means one should only draw
into an NSView
not an NSImage which as I say gives the desired result at first blush.
However I've seen examples offered up drawing strings directly into
NSImages. Have I
misinterpreted the admonition in the cocoa documentation? If not, how
do you draw text
into a dock tile?
Thanks,
brian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.