FROM : Gordon Apple
DATE : Thu Jun 19 23:14:03 2008
As I stated in my recent post, I implemented my own transform to flip
the layer since nothing else worked. That worked, and my view is in a
scrolling window. What I'm currently having trouble with is scaling the
view. My window is similar to that in Sketch, with a popup scale factor in
the lower scroll bar. I've tried a variety of things including regenerating
the CALayers, but so far haven't been able to get the layers to scale to the
coordinates of the underlying view. Again, I'll probably figure it out
eventually, but this stuff just shouldn't be that difficult. IMHO, there is
not enough automatic coupling adjustments between the view and its layer
parameters to handle these issues.
> I've tried
>
> [[[self pageScrollView] contentView] setWantsLayer:YES];
>
> This results in a still flipped display, and very badly corrupted, lots of
> artifacts etc....
>
> [[self pageScrollView] setWantsLayer:YES];
>
> Nice display, but still flipped.
>
> The transform that used to work before I tried the above line makes no
> difference if I set the scrollview to be layer backed.
>
> Any ideas?
DATE : Thu Jun 19 23:14:03 2008
As I stated in my recent post, I implemented my own transform to flip
the layer since nothing else worked. That worked, and my view is in a
scrolling window. What I'm currently having trouble with is scaling the
view. My window is similar to that in Sketch, with a popup scale factor in
the lower scroll bar. I've tried a variety of things including regenerating
the CALayers, but so far haven't been able to get the layers to scale to the
coordinates of the underlying view. Again, I'll probably figure it out
eventually, but this stuff just shouldn't be that difficult. IMHO, there is
not enough automatic coupling adjustments between the view and its layer
parameters to handle these issues.
> I've tried
>
> [[[self pageScrollView] contentView] setWantsLayer:YES];
>
> This results in a still flipped display, and very badly corrupted, lots of
> artifacts etc....
>
> [[self pageScrollView] setWantsLayer:YES];
>
> Nice display, but still flipped.
>
> The transform that used to work before I tried the above line makes no
> difference if I set the scrollview to be layer backed.
>
> Any ideas?
| Related mails | Author | Date |
|---|---|---|
| Moray Taylor | Jun 19, 17:38 | |
| Moray Taylor | Jun 19, 19:54 | |
| Gordon Apple | Jun 19, 23:14 | |
| Brian Christensen | Jun 20, 07:17 | |
| Moray Taylor | Jun 20, 14:16 | |
| Kai | Jun 20, 15:26 |






Cocoa mail archive

