IOS Quartz2D簡介

Quartz2D 簡介( 後續會有相關應用) 第一部分 繪製直線 代碼示例: - (void)drawRect:(CGRect)rect{ //獲取圖形上下文 CGContextRef cxContext = UIGraphicsGetCurrentContext(); //開始畫圖 //設置直線起點 CGContextMoveToPoint(cx
相關文章
相關標籤/搜索