• 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: Kenny Leung <email@hidden>
  • Date: Sat, 29 Sep 2007 08:26:24 -0700

Yes! Exactly what I want.

Thanks!

-Kenny

On Sep 28, 2007, at 12:47 PM, Alastair Houghton wrote:

On 28 Sep 2007, at 17:28, Kenny Leung wrote:

In the old NeXTstep days of pswraps, there was this cool PostScript operator called "composite" that would blit bits in the current graphics context. So if you were doing a scrolling chart, you would just have to composite the 99% of stuff you already had on-screen, and draw the 1% of new data.

Question 1: Does anybody know of the current Quartz equivalent for doing this? I image that the NSScrollView/NSClipView combination knows how to do this, but I have not been able to find the function to do it.

You probably want NSView's -scrollRect:by:.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

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


References: 
 >fast blitting with Quartz (From: Kenny Leung <email@hidden>)
 >Re: fast blitting with Quartz (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Setting Breakpoints in XCode - Comically slow
  • Next by Date: NSUserDefaults per Document
  • Previous by thread: Re: fast blitting with Quartz
  • Next by thread: AIFF files and Disc Recording
  • Index(es):
    • Date
    • Thread