• 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
Re: setting the bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting the bounds


  • Subject: Re: setting the bounds
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 9 Jun 2003 09:55:09 -0700

On Sunday, June 8, 2003, at 08:25 PM, email@hidden wrote:

Each time drawRect: is called, the coordinate system needs to be
translated by a certain amount.

Why?

Keep in mind that -drawRect: can be called at any time (like when a window gets exposed, or when an enclosing scrollview is moved). -drawRect: is really not the right place to be setting up your coordinate space.

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: <fixed> setting the bounds
      • From: email@hidden
References: 
 >Re: setting the bounds (From: email@hidden)

  • Prev by Date: Re: C question for you old guys ;-)
  • Next by Date: Re: Finding out OS version
  • Previous by thread: Re: setting the bounds
  • Next by thread: Re: <fixed> setting the bounds
  • Index(es):
    • Date
    • Thread