• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Flipped Coordinates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Flipped Coordinates
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: -replaceTextStorage: problem
  • Next by Date: Re: NSButtonCell never asked to draw its whole rect -- clips at width 54.0
  • Previous by thread: Re: NSButtonCell never asked to draw its whole rect -- clips at width 54.0
  • Next by thread: Re: Flipped Coordinates
  • Index(es):
    • Date
    • Thread