On 25 Sep 2014, at 2:44 am, Andreas Mayer <andr...@harmless.de> wrote:

> So ... something to do with some affine transform? Yes, I'm using affine 
> transforms to rotate the window contents, which is located in a CALayer.


A common cause of CG assertions on transforms is a 'Nan' or 'inf' value ending 
up in the transform (these may not be discovered until some funciton is called 
that uses the transform). This is pretty easy to cause, for example dividing by 
zero, by setting a scale of 0 in a transform. You really want to avoid this by 
sanitising parameters used to calculate transforms. Even having something 
apparently innocuous such as view frame rect of NSZeroRect can eventually cause 
a bad transform to be computed.

That would be the sort of thing I'd be looking for here.

--Graham



_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to