Re: drawAtPoint?
Re: drawAtPoint?
- Subject: Re: drawAtPoint?
- From: Mark Dawson <email@hidden>
- Date: Tue, 8 Mar 2005 22:03:24 -0800
Arrgh! That was it! My C/C++ background bit me again.
Thanks!
mark
On Mar 8, 2005, at 7:33 PM, Mike R. Manzano wrote:
There should be no comma before withAttributes, just a space.
On Mar 8, 2005, at 7:26 PM, Mark Dawson wrote:
I'm trying to test a string draw, but I'm having trouble using
drawAtPoint
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
[attributes setObject:[NSFont fontWithName:@"Times" size:18]
forKey:NSFontAttributeName];
[[[NSString alloc] initWithString: @"TEST"]
drawAtPoint:NSMakePoint(0, imageBounds.size.height/2),
withAttributes:attributes];
I get a compiler error that "withAttributes" is undeclared and
drawAtPoint can't be found.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden