On 4 Jul 2011, at 7:17 AM, Dale Satterfield wrote:

> Well, hopefully that code is correct since it is the unmodified code from the 
> book.

The code you are looking to is intended as an example of how to prepare a Mac 
OS X framework, not as a graphics tutorial. The source had to fit into a 
reasonably-sized book, and that entailed a sacrifice in drawing performance. 

In particular, I scaled the drawing view to make the graph fit. As the source 
data's aspect ratio departs from 1, lines perpendicular to the compressed axis 
will be compressed to less than a full pixel (actually, point) width, and get 
antialiased to gray.

You should find other examples.

        — F

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to