Hi,
I provide a CGImageRef as the layer content. When the bounds of layer
is changed, the image seems to be scaled to fit the bounds.
Is there an option to keep the image aspect ratio? what possible
key-value can I set for the layer's style property?
Thanks,
--
Wayne Shao
_
2-Jul-08, at 1:03 PM, [EMAIL PROTECTED] wrote:
Message: 3
Date: Tue, 1 Jul 2008 20:39:51 -0700
From: "Wayne Shao" <[EMAIL PROTECTED]>
Subject: CALayer contents and image aspect ratio
To: Cocoa
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1