• 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: fast blitting with Quartz
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fast blitting with Quartz


  • Subject: Re: fast blitting with Quartz
  • From: Wade Tregaskis <email@hidden>
  • Date: Fri, 28 Sep 2007 10:53:53 -0700

I suppose should be no problem to letting the size of the view grow to infinity - as long as I'm not drawing any more of it. I guess I just have to get over the mental hurdle.

Note that there is a practical limit to the size of an NSView, beyond which all sorts of funkiness occurs (visible as drawing artefacts) as a consequence of CoreGraphics using floats, and thus having very much finite precision. It depends on your particular code as to when exactly you'll see problems, but I wouldn't let any view (inside a scrollview) get more than 10,000,000 pixels in any dimension.


(I know that sounds huge, but it's pretty easy to naively hit if you're not careful)

Wade
_______________________________________________

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: fast blitting with Quartz
      • From: Scott Thompson <email@hidden>
    • Re: fast blitting with Quartz
      • From: Greg Titus <email@hidden>
References: 
 >fast blitting with Quartz (From: Kenny Leung <email@hidden>)
 >Re: fast blitting with Quartz (From: Greg Titus <email@hidden>)
 >Re: fast blitting with Quartz (From: Kenny Leung <email@hidden>)

  • Prev by Date: Re: Best practice for Core Data "ordered" NSArray problem?
  • Next by Date: Re: Best practice for Core Data "ordered" NSArray problem?
  • Previous by thread: Re: fast blitting with Quartz
  • Next by thread: Re: fast blitting with Quartz
  • Index(es):
    • Date
    • Thread