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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to