Re: drawAtPoint?
Re: drawAtPoint?
- Subject: Re: drawAtPoint?
- From: "Mike R. Manzano" <email@hidden>
- Date: Tue, 8 Mar 2005 19:33:15 -0800
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:
This email sent to email@hidden
References: | |
| >drawAtPoint? (From: Mark Dawson <email@hidden>) |