objective c - Know start and end point of a CGPathAddArc -


i want know start , endpoint of arc generated cgpath method cgpathaddarc.

i want draw portion of "ring" , think combining 2 arcs different radius , drawing 2 lines connecting start , end points.

cgpathaddarc(anillo, null, centro.x, centro.y, r1, ang1, ang2, yes); cgpathaddarc(anillo, null, centro.x, centro.y, r2, ang1, ang2, yes); 

geometry figure want draw

how using arctopoint instead

void cgpathaddarctopoint (   cgmutablepathref path,   const cgaffinetransform *m,   cgfloat x1,   cgfloat y1,   cgfloat x2,   cgfloat y2,   cgfloat radius ); 

you specify start , end points sounds want.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -