I want to get this structure
CGPoint addLines1[] = { CGPointMake(30.0, 150.0), CGPointMake(41.67, 145.19), CGPointMake(53.33, 103.25), CGPointMak
Try this
CGPoint A[10]; A[0] = CGPointMake(10.0, 10.0); A[1] = CGPointMake(10.0, 12.0); float x = A[1].y; NSLog(@"%.0f", x);
It works. Good Luck.