> Assuming this is the entirety of the code, then as mentioned previously you 
> never set the bounds or frame of your layer.

Well, I don't know what to say ... I've just rediscovered that I actually do 
set the bounds:

        if ( orientation >= 5 )
                // swap width & height
                imgLayer.bounds = CGRectMake(drawRect_.origin.x, 
drawRect_.origin.y, drawRect_.size.height, drawRect_.size.width);
        else
                imgLayer.bounds = NSRectToCGRect( drawRect_ );

where 'orientation' is the EXIF tag.

Best regards,
Gabriel.


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

_______________________________________________

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 arch...@mail-archive.com

Reply via email to