Flipped Coordinates
Flipped Coordinates
- Subject: Flipped Coordinates
- From: David Blanton <email@hidden>
- Date: Mon, 8 Jun 2009 19:15:39 -0600
I just do not understand 'flipped coordinates', i.e. I know what they
are but what should I do so this string draws in the correct
orientation?
- (void)drawRect:(CGRect)rect {
UIFont *font = [UIFont fontWithName:@"Arial" size:48];
NSString *score = [NSString stringWithFormat:@"%d",_meter->_score];
CGRect rect = CGRectMake(120,303,120,40);
[score drawInRect:rect withFont:font];
}
drawRect is in a UIView
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden