Re: two-part question: stylistic question+joint style
Re: two-part question: stylistic question+joint style
- Subject: Re: two-part question: stylistic question+joint style
- From: Robert Clair <email@hidden>
- Date: Thu, 29 Jan 2004 09:04:40 -0500
>
Secondly, is there any way to stop stroked squares from being doubly
>
dark on the edges? Does this have to do with joint style?
>
>
Not quite sure what you are asking. Do you mean "dark on the corners" ?
If you are stroking a square by stroking four lines with a transparent
color, the corners are going to come out darker - it will paint the
pixels
in the corner regions twice. To avoid this it has to be a single path:
NSBezierPath* myPath = [NSBezierPath bezierPathWithRect: myRect];
[myTrasparentColor set];
[myPath stroke];
......Bob Clair
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.