• 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: Make a solid line look like 3D
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make a solid line look like 3D


  • Subject: Re: Make a solid line look like 3D
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 25 Oct 2009 19:52:15 -0400


On Oct 25, 2009, at 7:48 PM, I. Savant wrote:

Quincey's suggestion to cache is right on the money: draw it with bezier paths once, then only display the finished product as PDF data. You could even separate it out into different 'overlays' for each 'thread file'. That minimizes any redrawing that's necessary when changing the color of a 'thread file'.

One more thing: If you separate each thread file out into a separate overlay image, and you're targeting Leopard or above, you can easily use NSOperation/Queue to put each overlay into its own separate operation (multithread your threads, so to speak). Just draw straight to images instead of the view. Then your view only has to cache the images and redraw them.


--
I.S.


_______________________________________________

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: 
 >Make a solid line look like 3D (From: Matthias Arndt <email@hidden>)
 >Re: Make a solid line look like 3D (From: "I. Savant" <email@hidden>)
 >Re: Make a solid line look like 3D (From: Matthias Arndt <email@hidden>)
 >Re: Make a solid line look like 3D (From: Paul M <email@hidden>)
 >Re: Make a solid line look like 3D (From: Graham Cox <email@hidden>)
 >Re: Make a solid line look like 3D (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Make a solid line look like 3D
  • Next by Date: Re: Resizing view of NSCollectionViewItem
  • Previous by thread: Re: Make a solid line look like 3D
  • Next by thread: Re: Make a solid line look like 3D
  • Index(es):
    • Date
    • Thread