Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CG vs QuickDraw



On Sun, 10 Jun 2007 12:35:49 -0700, Philip Aker <email@hidden> wrote:

On 2007-06-10, at 11:33:16, Anders Markussen wrote:

If you want the 1-pixel-wide line to not span several pixels, you simply add 0.5, so CGContextMoveToPoint(ctx, 10.5, 4); CGContextAddLineToPoint(ctx, 10.5, 24);

I know about the 1/2 pixel trick. It's a design bug that we have to do stuff like that in the first place.

I actually prefer this to the QD way. Fewer stroking rules to remember = better, even if it is a bit weird at first to those of us who got used to QD. I love CG.


Well... I hate the arduous task of getting the best possible performance out of CG, but the basics are right, at least.

- Anders
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >CG vs QuickDraw (From: Ingemar Ragnemalm <email@hidden>)
 >Re: CG vs QuickDraw (From: Philip Aker <email@hidden>)
 >Re: CG vs QuickDraw (From: "Anders Markussen" <email@hidden>)
 >Re: CG vs QuickDraw (From: Philip Aker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.