• 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: 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

References: 
 >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: How to draw text to bitmap (array) with pre 10.5 libs
  • Previous by thread: Re: NSAffineTransform scaleBy not scaling
  • Next by thread: Re: NSAffineTransform scaleBy not scaling
  • Index(es):
    • Date
    • Thread