> 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
On Apr 11, 2011, at 12:40 PM, Gabriel Zachmann wrote:
> As I said, some images just won't get displayed under 10.5, but the same
> images work fine under 10.6.
Assuming this is the entirety of the code, then as mentioned previously you
never set the bounds or frame of your layer. Try setting t
>
>
> Show all the code by which the layer is configured and put into the interface
> if you want a more educated response. m.
>
I'll try, it's a bit scattered throughout my program.
(I was a bit hesitant to flood my original post with potentially unwanted code
...)
Here goes:
CGIma
On Sun, 10 Apr 2011 22:29:55 +0200, Gabriel Zachmann
said:
>>> I am creating CA layers like so:
>>>
>>> CALayer * imgLayer= [CALayer layer];
>>> imgLayer.contents = (id) image;
>>> imgLayer.contentsGravity = kCAGravityResizeAspect;
>>> imgLayer.delegate
>> I am creating CA layers like so:
>>
>> CALayer * imgLayer = [CALayer layer];
>> imgLayer.contents = (id) image;
>> imgLayer.contentsGravity = kCAGravityResizeAspect;
>> imgLayer.delegate = nil;
>> imgLayer.opacity = 1.0;
>> imgLayer.positio
On Wed, 06 Apr 2011 18:44:04 +0800, Gabriel Zachmann
said:
>I am creating CA layers like so:
>
>CALayer * imgLayer = [CALayer layer];
>imgLayer.contents = (id) image;
>imgLayer.contentsGravity = kCAGravityResizeAspect;
>imgLayer.delegate = nil;
>
On Apr 6, 2011, at 3:44 AM, Gabriel Zachmann wrote:
> I am creating CA layers like so:
>
>CALayer * imgLayer = [CALayer layer];
>imgLayer.contents = (id) image;
>...
>
> The question now is: can I somehow find out whether or not the image has been
> ignored by CA