• 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: scaleUnitSquareToSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scaleUnitSquareToSize


  • Subject: Re: scaleUnitSquareToSize
  • From: Greg Titus <email@hidden>
  • Date: Sat, 9 Aug 2003 08:44:50 -0700

On Saturday, August 9, 2003, at 03:08 AM, Neil Earnshaw wrote:

Thanks Greg,

That really useful. I needed that to figure out if there was something wrong with my setting of the scale factors for the unit square. I'm getting a problem which I've narrowed down a bit.

I've got a diagram view that has been getting a bit confused when I zoom in and out. It seems now that it only misbehaves when the scale factor is greater than 1.0. When I zoom out, using scale factors < 1.0, everything is fine. When I zoom in to scale factors > 1.0 the first rendering of the view is okay, but subsequent operations on the diagram cause drawRect: to think that the scaling has changed back to 1.0. My diagram gets clipped.

Is it safe to use scales factors > 1.0?

- Neil

Hi Neil,

Yep, should be safe. There must be some other bug in your code....

- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: scaleUnitSquareToSize (From: Neil Earnshaw <email@hidden>)

  • Prev by Date: Re: Custom layout
  • Next by Date: getting a list of open windows
  • Previous by thread: Re: scaleUnitSquareToSize
  • Next by thread: Re: [beginner cocoa] cocoa tutorial (Currency Converter) won't build
  • Index(es):
    • Date
    • Thread