Re: NSAffineTransform scaleBy not scaling
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