• 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: two-part question: stylistic question+joint style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: placeholder string not updated in localization
  • Next by Date: Re: Multiple Undo devours RAM
  • Previous by thread: two-part question: stylistic question+joint style
  • Next by thread: Controlling control positions and size in a window
  • Index(es):
    • Date
    • Thread