您的位置: 首页 > 文章 > CoreGraphics中CGContextAddArcToPoint函数的用法说明 CoreGraphics中CGContextAddArcToPoint函数的用法说明 分类: 文章 • 2025-03-24 21:32:33 CGContextAddArcToPoint函数: void CGContextAddArcToPoint ( CGContextRef c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius); 通过传入的两个point来确定圆弧的位置,然后将当前起点和圆弧的起点直线连接,最后设置上下文中的起点为圆弧的终点,具体看图。 转载于:https://blog.51cto.com/rainbownight/1309651