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: Drawing Thin Lines in Core Graphics



At 10:01 AM -0700 2/28/02, Nick Nallick wrote:
I'm trying to draw horizontal and/or vertical lines that are a single pixel wide into a Core Graphics context on the screen. I'm creating a path containing a line and stroking it. Unfortunately I don't seem to be able to draw a line any thinner than two pixels wide. If I specify a smaller stroke width the color of the line become lighter but it's still two pixels wide.


The line really is 1 pixel wide - you are simply seeing the effects of anti-aliasing.


Leonard
--
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Drawing Thin Lines in Core Graphics (From: Nick Nallick <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.