![]() |
|
|
+ Search |
![]()
|
Apr 29th, 2002 19:43
Christopher Holland, David Remahl
NSImage *yourImg = [NSImage imageNamed:@"Whatever"]; [yourImg lockFocus]; [@"Your string" drawAtPoint:NSMakePoint(0,0)] [yourImg unlockFocus]; // See NSStringDrawing.h for alternatives or // <AppKit/NSAttributedString.h> for attributed string drawing