• 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
Drawing to two CALayers at once (or pretend to)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing to two CALayers at once (or pretend to)?


  • Subject: Drawing to two CALayers at once (or pretend to)?
  • From: vincent habchi <email@hidden>
  • Date: Mon, 27 Dec 2010 21:04:25 +0100

Hi everybody –

well, I don't have a precise question but rather a general advice. I need to draw a path on a CALayer and simultaneously lay out a text along this same path (that can be made up of straight lines and/or arcs) on another layer (CATextLayer, presumably). Knowing that the path is computed by reading values in a database, I'd like to avoid a double reading that costs some time (even if there is a cache) and seems redundant; therefore, I'd like to know if there is a sensible way to do this (I guess there is no way to draw on both layers at once), or if a double read is inevitable…

Thanks!
To all, a happy and prosperous new year.

Vincent_______________________________________________

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: Drawing to two CALayers at once (or pretend to)?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Gap above NSMenuItem custom view
  • Next by Date: Re: Text rendering/editing on OSX & iOS
  • Previous by thread: Re: Setting the date of a UIDatePicker [Solved]
  • Next by thread: Re: Drawing to two CALayers at once (or pretend to)?
  • Index(es):
    • Date
    • Thread