【发布时间】:2013-10-03 07:19:59
【问题描述】:
我想在绘制这张图片中右边的线时具有模糊效果:
目前,我正在使用以下代码进行绘制,但这只会绘制左侧的图片:
CGContextSetLineWidth(currentContext, thickness);
CGContextSetLineCap(currentContext, kCGLineCapRound);
CGContextBeginPath(currentContext);
CGContextMoveToPoint(currentContext, x, y);
CGContextAddLineToPoint(currentContext, x, y);
CGContextMoveToPoint(currentContext, x, y);
CGContextStrokePath(currentContext);
请问有什么想法吗?
问候, 亚历山大
【问题讨论】:
标签: iphone ios ipad core-graphics quartz-graphics