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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to