Re: NSAffineTransform scaleBy not scaling
Re: NSAffineTransform scaleBy not scaling
- Subject: Re: NSAffineTransform scaleBy not scaling
- From: Shane <email@hidden>
- Date: Mon, 30 Nov 2009 22:24:13 -0600
Just adding the other methods for clarification.
- (void) drawAxes:(NSRect) rect
{
NSRect bounds = [self bounds];
NSBezierPath *path = [NSBezierPath bezierPath];
[path moveToPoint:NSMakePoint(0.1, 0.0)];
[path lineToPoint:NSMakePoint((bounds.size.width * 0.95), 0.0)];
[path moveToPoint:NSMakePoint(0.0, 0.1)];
[path lineToPoint:NSMakePoint(0.0, (bounds.size.height * 0.95))];
[[NSColor grayColor] setStroke];
[path stroke];
return;
}
- (void) drawError:(NSRect) rect
{
[[NSColor whiteColor] setStroke];
[pointsPath setLineCapStyle:NSSquareLineCapStyle];
[pointsPath stroke];
return;
}
_______________________________________________
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