• 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
Merging BezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Merging BezierPath


  • Subject: Merging BezierPath
  • From: Aidas Dailide <email@hidden>
  • Date: Wed, 2 Jul 2003 14:29:43 +0300

Hi,

I am trying to draw a simple bezier path. Here is the code i use:
path=[NSBezierPath bezierPathWithOvalInRect:NSMakeRect(sRect.origin.x -5,sRect.origin.y,10,sRect.size.height)];
[path appendBezierPathWithRect: NSMakeRect(sRect.origin.x,sRect.origin.y,sRect.size.width,sRect.size.hei ght)];
[path appendBezierPathWithOvalInRect: NSMakeRect(sRect.origin.x+(sRect.size.width -5),sRect.origin.y,10,sRect.size.height)];

The problem is when i am trying to us stroke command. If i stroke my path then two ovals and rects are stroked. This is what it has to happen, but i want to stroke those three as one. Is it possible to somehow merge those three paths into one?

Thank you,

Aidas
_______________________________________________
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.

  • Follow-Ups:
    • Re: Merging BezierPath
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Strong language about Cocoa and Qt.
  • Next by Date: -awakeFromNib, application releasing...
  • Previous by thread: Re: cocoa-dev digest, Vol 2 #2580 - 11 msgs
  • Next by thread: Re: Merging BezierPath
  • Index(es):
    • Date
    • Thread