• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems with a Layer backed NSView in a NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with a Layer backed NSView in a NSScrollView


  • Subject: Re: Problems with a Layer backed NSView in a NSScrollView
  • From: Gordon Apple <email@hidden>
  • Date: Thu, 19 Jun 2008 16:14:03 -0500

    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?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problems with a Layer backed NSView in a NSScrollView
      • From: Moray Taylor <email@hidden>
    • Re: Problems with a Layer backed NSView in a NSScrollView
      • From: Brian Christensen <email@hidden>
  • Prev by Date: Re: Cocoa can be used to execute arbitrary (privileged) code !
  • Next by Date: 2 NSRuleEditor questions?
  • Previous by thread: Re: Problems with a Layer backed NSView in a NSScrollView
  • Next by thread: Re: Problems with a Layer backed NSView in a NSScrollView
  • Index(es):
    • Date
    • Thread