• 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: Fastest way of drawing to a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fastest way of drawing to a view?


  • Subject: Re: Fastest way of drawing to a view?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 12 Jan 2004 19:17:29 +0100

At 17:22 Uhr +0000 12.01.2004, Jonathan del Strother wrote:
What's the fastest way of drawing this?
My current method something like this.:

This is all done using the Quartz 2d functions (eg CGContextAddRect,
CGContextBeginPage,
and so on).
Does anyone have any general tips to speed this up, or expensive
function calls that I should avoid?

In general, the fastest way to draw something is not to draw it at all. So, be sure to only draw the critters that are actually visible etc.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >Fastest way of drawing to a view? (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: Re: Need more NSLeftMouseDragged events
  • Next by Date: Releasing windows
  • Previous by thread: Fastest way of drawing to a view?
  • Next by thread: Releasing windows
  • Index(es):
    • Date
    • Thread