I'm trying to migrate to using CALayers and having nothing but problems.
I'm currently trying to use two simple CALayers, one for accumulated prior
layers (my own list of draw lists) and one for the current layer.  I'm using
Cocoa to draw.  No filters or transitions yet, just simple drawing.  I'll
keep my first questions simple:

1.  How do you deal with flipped NSView coordinates?  The drawLayer call
gets the NSGraphicsContext using     nsGraphicsContext = [NSGraphicsContext
graphicsContextWithGraphicsPort:ctx flipped:YES ]   but seems to ignore the
flipped parameter for either YES/NO.  Am I going to have to implement a
transform to make this work right?

2.  Can you mix standard view drawing with CALeyers?  If so, what is the
draw order of the view drawing relative to the CALayers?  (In spite of the
reference to such, the view drawing guide still doesn't cover CALayers.)  I
prefer to do interactive drawing into the top layer in the same manner as I
currently do in the view.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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