Re: Problem drawing multiple parallel lines
Re: Problem drawing multiple parallel lines
- Subject: Re: Problem drawing multiple parallel lines
- From: Mark Teagarden <email@hidden>
- Date: Fri, 25 Jul 2008 17:08:17 -0500
Herewith, the code:
NSBezierPath * apath;
apath = [[NSBezierPath alloc] init];
[[NSColor grayColor] set];
for(i=0;i<12;i++){
[apath setLineWidth:0.15];
[apath moveToPoint: NSMakePoint(borders.origin.x
+20+16*i,borders.origin.y+20)];
[apath lineToPoint: NSMakePoint(borders.origin.x
+420+16*i,borders.origin.y+320)];
[apath stroke];
}
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden