码迷,mamicode.com
首页 >  
搜索关键字:ios绘图    ( 58个结果
iOS 绘图
-(id)initWithFrame:(CGRect)frame{ self=[super initWithFrame:frame]; if (self) { //使用self. 表示调用了set方法 retain了一次 self.lineArray=[NSMutableArray ...
分类:移动开发   时间:2014-11-11 20:45:26    阅读次数:163
iOS :绘图
1、画圆弧a、void CGContextAddArc(CGContextRef c, CGFloat x, CGFloat y, CGFloat radius, CGFloat startAngle, CGFloat endAngle, int clockwise)CGContextRef不解释了...
分类:移动开发   时间:2014-11-10 21:10:32    阅读次数:232
iOS绘图例3:绘图命令工具栏
![][1] 1. 在StoryBoard中添加 GiCanvasView 视图,并在 ViewController 中创建关联变量 canvas_: ``` @interface ViewController () { __weak IBOutlet GiCanvasView *canvas_; } @end ``` 2. 添加按钮图片资源...
分类:移动开发   时间:2014-10-13 20:12:47    阅读次数:117
iOS绘图例2:增加Undo/Redo功能
1. 在工程中添加Undo、Redo的按钮图片,每个按钮都有可用和不可用两种状态图片,共4个图片。 2. 在StoryBoard中添加两个按钮,设置图片属性和自动布局约束。 3. 按住 Ctrl 拖动按钮到 ViewController.mm 中,创建...
分类:移动开发   时间:2014-09-26 13:15:29    阅读次数:308
iOS绘图例1:使用StoryBoard
1. 使用 Single View Wizard 等向导创建工程 2. 在 Podfile 文件中导入TouchVG: platform :ios, ‘6.0‘ pod ‘TouchVG‘ 然后运行`pod install`下载TouchVG代码。后续可运行 `pod update --no-repo-update` 加快下载...
分类:移动开发   时间:2014-09-26 02:26:08    阅读次数:184
iOS_41_绘图
核心动画之CATransition转场动画...
分类:移动开发   时间:2014-09-20 22:55:09    阅读次数:264
iOS绘图教程(个人学习总结)
iOS绘图教程:http://www.cocoachina.com/applenews/devnews/2014/0115/7703.html本篇博文是为了梳理学习过程中得框架,上边链接是cocoachina的教程,更详细一些iOS支持两套图形API族:Core Graphics/QuartZ 2D...
分类:移动开发   时间:2014-07-31 19:40:07    阅读次数:263
IOS绘图
Core Graphics Framework是一套基于C的API框架,使用了Quartz作为绘图引擎。它提供了低级别、轻量级、高保真度的2D渲染。该框架可以用于基于路径的绘图、变换、颜色管理、脱屏渲染,模板、渐变、遮蔽、图像数据管理、图像的创建、遮罩以及PDF文档的创建、显示和分析。为了进一步从感...
分类:移动开发   时间:2014-07-27 10:39:12    阅读次数:395
58条   上一页 1 ... 4 5 6
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!