• 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
drawatpoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

drawatpoint


  • Subject: drawatpoint
  • From: John Kundert-Gibbs <email@hidden>
  • Date: Sat, 2 Jan 2010 20:34:29 -0500

Hi, all

I'm fairly new to programming for the iPhone (still getting up to speed!), and I have a hopefully simple question about positioning and scaling graphic images in a UIImageView I created in IB. I'm trying to work with drawAtPoint and drawInRect to position and size the image(s) (there will be 1 to 6 of them, depending). The code I have is something like this:

resultImage.image = [[UIImage imageNamed:@"New_Image.png"] drawAtPoint:topLeft];

I get the impression I have to do something more complex to place (and then size) this image, but I can't figure out from the docs, nor from online code examples, how to do this.

Any help on this would be fantastic. Thanks so much!

John_______________________________________________

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: drawatpoint
      • From: Todd Heberlein <email@hidden>
    • Re: drawatpoint
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Alternative KVC accessors
  • Next by Date: Re: drawatpoint
  • Previous by thread: Bindings/Core Data: Undesired Discovery of a Mythical "Deep Observer"
  • Next by thread: Re: drawatpoint
  • Index(es):
    • Date
    • Thread