• 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
UIBezierPath: trying to create an array with CGPointMake
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIBezierPath: trying to create an array with CGPointMake


  • Subject: UIBezierPath: trying to create an array with CGPointMake
  • From: colo <email@hidden>
  • Date: Mon, 20 Dec 2010 02:20:26 -0500

I'm in the processing of trying to create an array of Path points to
draw a UIBezierPath CGRectMake onto each control point.

Right now I am getting an error of
error: void value not ignored as it ought to be

I could totally be going about this the wrong way but until I know I
better I am trying to convert this
post from http://cocoawithlove.com/2008/07/coregraphics-curves-and-lines-sample.html
over to the ipad/iphone
Daunting for me but it's fun.



- (IBAction)resetControlPoints:(id)sender
{

UIBezierPath *path = [UIBezierPath bezierPath]; {
[path moveToPoint:CGPointMake(0,0)];
return path;
}
points[0] = 	[path moveToPoint:CGPointMake(30, 70)];
points[1] = 	[path moveToPoint:CGPointMake(30, 70)];
points[2] = 	[path moveToPoint:CGPointMake(30, 70)];
points[3] = 	[path moveToPoint:CGPointMake(30, 70)];

}
_______________________________________________

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

  • Follow-Ups:
    • Re: UIBezierPath: trying to create an array with CGPointMake
      • From: Fritz Anderson <email@hidden>
    • Re: UIBezierPath: trying to create an array with CGPointMake
      • From: Graham Cox <email@hidden>
  • Prev by Date: UIWebview: scrolling vs anchors
  • Next by Date: Re: UIWebview: scrolling vs anchors
  • Previous by thread: Re: UIWebview: scrolling vs anchors
  • Next by thread: Re: UIBezierPath: trying to create an array with CGPointMake
  • Index(es):
    • Date
    • Thread