• 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
Custom NSImageView with CALayer for Selection Rect not Scaling...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSImageView with CALayer for Selection Rect not Scaling...


  • Subject: Custom NSImageView with CALayer for Selection Rect not Scaling...
  • From: "Peters, Brandon" <email@hidden>
  • Date: Sat, 11 Oct 2014 15:53:27 +0000
  • Thread-topic: Custom NSImageView with CALayer for Selection Rect not Scaling...

Hello,

I have a custom NSImageView with layer-backing and CALayer sublayers for drawing the selection rectangle. All of this is embedded in a NSScrollView with magnification enabled. When I zoom in or out the image in the image view “scales” but the selection rectangle does not and “stays” where it was originally draw. Is there a to get the selection rect CALayers to scale with the image (or image view)?
_______________________________________________

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


  • Prev by Date: Kerning Pairs
  • Next by Date: Re: Kerning Pairs
  • Previous by thread: Re: Kerning Pairs
  • Next by thread: UIImageView content will not scale up(or down) even while using UIViewContentModeScaleAspectFit -- iOS8, Xcode 6.0.1
  • Index(es):
    • Date
    • Thread