Merging BezierPath
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.