• 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: NSAffineTransform scaleBy not scaling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAffineTransform scaleBy not scaling


  • Subject: Re: NSAffineTransform scaleBy not scaling
  • From: Graham Cox <email@hidden>
  • Date: Wed, 2 Dec 2009 15:48:04 +1100

On 02/12/2009, at 3:42 PM, Shane wrote:

> - (void) appendPoint:(NSPoint) point
> {
> 	if (firstPoint) {
> 		[pointsPath moveToPoint:point];
>
> 		firstPoint = NO;
> 	}
>
> 	[pointsPath lineToPoint:point];
>
> 	pointCount++;
>
> 	return;
> }


So pointCount is a simple count of the points. That will only be appropriate to use if each point you pass to appendPoint: increments by 1.0 in one of its coordinates (x, say) each time. Is that the case? If not, pointCount is in no way related to the dimensions of the path.

--Graham


_______________________________________________

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

References: 
 >Re: NSAffineTransform scaleBy not scaling (From: Shane <email@hidden>)
 >Re: NSAffineTransform scaleBy not scaling (From: Graham Cox <email@hidden>)
 >Re: NSAffineTransform scaleBy not scaling (From: Shane <email@hidden>)

  • Prev by Date: Re: NSAffineTransform scaleBy not scaling
  • Next by Date: Re: View sizing issue when using "disclosure view"
  • Previous by thread: Re: NSAffineTransform scaleBy not scaling
  • Next by thread: Re: NSAffineTransform scaleBy not scaling
  • Index(es):
    • Date
    • Thread