iphone - How can store all points in the CGContextAddArc (CGContextRef) to NSMUtableArray -


How can I make NSMutableArray.CGContextRef all the pixel points in CGContextAddArc? NSMutable Array

  Fixed inline float radians (double degrees) {return degree * pi / 180; } - (zero) direct: (CGRact) shortcut {CGContextRef context = UIGraphicsGetCurrentContext (); CGRCT parentViewbound = self. Bound; CGFLOTX = CGRTGetWith (Parent Weiboound) / 2; CGFloat y = CGRectGetHeight (parent weighbounds) / 2; UIColor * rbg = [UIColor redColor]; CGContextSetFillColor (Context, CGColorGetComponents (CGBC) CGContextMoveToPoint CGContextAddArc (context, X, Y, 100, (Reference); // Here I want to store all the points included in the arc for NSMutableArray NSMutableArray * pointsArray = ???}   

IMAGE  Enter image details here

Store or when you want to add points to your CGPER in NSValue, NSValue value withCGP: CGPointMake (your_X, your_y)]; [numeric add object: point];

Now when you take the time, How to read CP points in ARA from ARO,

  NSValue * getPoint = [pointsArray objectAtIndex: i]; CGPoint thePoint = [getPoint CGPointValue];   

Your answer will be.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -