CoreGraphics中CGContextAddArcToPoint函数的用法说明
CGContextAddArcToPoint函数:
void CGContextAddArcToPoint (
CGContextRef c,
CGFloat x1,
CGFloat y1,
CGFloat x2,
CGFloat y2,
CGFloat radius
);
通过传入的两个point来确定圆弧的位置,然后将当前起点和圆弧的起点直线连接,最后设置上下文中的起点为圆弧的终点,具体看图。
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。