Re: scaleUnitSquareToSize
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.