• 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
Order of CALayer's
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Order of CALayer's


  • Subject: Order of CALayer's
  • From: Gabriel Zachmann <email@hidden>
  • Date: Thu, 1 Oct 2009 19:44:46 +0200

Dear list,

I think I'm going crazy!

I've got one root layer and two sublayers.
The content of one of them is an image, the other's content is drawn by a delegate's drawLayer:inContext:.


I want the image layer *always* be rendered *behind* the other's content.

But no matter what I do, the image layer is always rendered in front, occluding the other's content!

I have tried different zPositions, I have tried to add the layers in different order to the superlayer, and what not -- to no avail.
I have googled a lot, but found nothing -- am I the only one with this problem?


The first chapter of the 'Core Animation Programming Guide'
says "Layers are drawn from back to front just like views" -- but how do I specify that order??



I would really appreciate any kind of help.

Regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Order of CALayer's
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: NSValueTransformer problem with NSTextField update
  • Next by Date: Re: NSValueTransformer problem with NSTextField update
  • Previous by thread: Re: Address Book-style editing
  • Next by thread: Re: Order of CALayer's
  • Index(es):
    • Date
    • Thread