- 浏览: 676599 次
- 性别:
- 来自: 深圳
最新评论
-
fingerplay:
请问一下,第一份,逻辑树,就是代码里可以操纵的,例如更改lay ...
UIView与CALayer -
ok_lyc:
分享到哪里去了
iPhoneUIFont各种字体 -
lliiqiang:
我的个人理解:wait方法是在java虚拟机层面上在获取对象锁 ...
JAVA多线程同步wait、notify、synchronized -
milixw:
谢谢分享,就在找这个
iphone 推送通知 java 实现 -
wsqwsq000:
你的log4j包不行,上网搜一下:log4j-1.2.16.j ...
iphone 推送通知 java 实现
Parameter Function to set parameter value Line width Line join Line cap Miter limit Line dash pattern Stroke color space Stroke color Stroke pattern Function Description Strokes the current path. Strokes the specified rectangle. Strokes the specified rectangle, using the specified line width. Strokes an ellipse that fits inside the specified rectangle. Strokes a sequence of lines. If you pass the constant
Parameters that affect how Quartz strokes the current path
Functions that stroke paths
CGContextStrokePath
CGContextStrokeRect
CGContextStrokeRectWithWidth
CGContextStrokeEllipseInRect
CGContextStrokeLineSegments
CGContextDrawPath
kCGPathStroke
, strokes the current path. See “Filling a Path” if you want to both fill and stroke a path.
CGContextBeginPath (context);
for (k = 0; k < count; k += 2) {
CGContextMoveToPoint(context, s[k].x, s[k].y);
CGContextAddLineToPoint(context, s[k+1].x, s[k+1].y);
}
CGContextStrokePath(context);
发表评论
-
iphone开发如何后台播放音频
2012-12-25 14:38 1563<!--?xml version="1.0&q ... -
iPhone开发中使用AVAudioPlayer出现内存泄漏的解决办法
2012-12-25 11:53 3349最近在使用AVAudioPlayer播放音频时,发现 ... -
dispatch多线程
2012-10-31 20:45 1460#define kBgQueue dispat ... -
iPhone开发使用数组排序
2012-10-30 19:18 1791我们以数组的排序为例(也许NSSortDes ... -
用containsObject判断是否存在的问题
2012-10-16 15:37 4566在NSArray或NSMutableArray中想使用c ... -
用NSZombieEnabled解决恼人的EXC_BAD_ACCESS错误
2012-09-17 10:30 1382转载自:http://longtimenoc.com/a ... -
使用xib加载视图后,在dealloc中crash
2012-09-08 11:20 1770最近遇到个问题,就是使用xib加载视图后,经常会 ... -
iPhone中如何获取当前输入法
2012-09-06 16:28 1702如题,在iPhone开发中,我们如何获取当前的输入 ... -
objectForKey和valueForKey的区别
2012-08-24 17:23 2167valueforkey和objectforkey区别 ... -
粒子发射系统中的CAEmitterLayer
2012-08-22 16:00 2522简介:CAEmitterLayer提供了一个基于 ... -
iPhone开发使用UILineBreakMode不精确
2012-07-26 12:02 1553一开始用UILineBre ... -
Xcode方法提示不显示的解决办法
2012-07-24 09:45 1616Xcode方法提示显示的不正确,只显示方法 ... -
NSArray的排序功能sortedArrayUsingSelector
2012-07-18 17:54 2234- (NSArray *)sortedArrayUs ... -
iPhoneUIFont各种字体
2012-07-24 09:45 1566苹果开发者们想在应用中使用不同字体的话,往往会发现 ... -
iPhone使用ASIHTTPRequest请求时,发送了2次请求
2012-07-24 09:45 2557前段时间用到ASIHTTPRequest做请求时, ... -
iPhone开发调用新浪微博OAuth2.0
2012-06-05 02:30 3104就像题目说的,这次的小项目是做一个新浪微博的客 ... -
Iphone cover flow 开源实现
2012-06-04 00:04 891tapkulibrary-CloverFlow ... -
ASIHTTPRequest下载示例(支持断点续传)
2012-07-24 09:45 1598在工程中,我们会常常遇到需要下载的程序,比 ... -
ASIHTTPRequest类库简介和使用说明
2012-07-24 09:45 1698文章转载自:http: ... -
NSUserDefaults 用户偏好设定保存自定义类(序列化)
2012-04-17 23:30 0NSUserDefaults 用户偏好设定保存 ...
相关推荐
Quartz 2D编程的前几节,也是在网上收集的
ios Quartz 2D编程指南 2d图形处理
Quartz 2D编程指南(1)
quartz的项目源码——用于和文章配套学习
苹果的处理图片方式的开发文档,以及图片格式转换等必要手段,文档出自官方文档的翻译。
Quartz 2D Programming Guide.pdf Quartz 2D Programming Guide.pdf
这是一些关于Quartz2D使用的代码,不求全面,只求实用。
Quartz2D图形刷新和定时器的操作练习
正如前面提到的,Quartz 2D只提供了绘制矩形、椭圆的函数,并没有直接提供绘制圆角矩形、三角形等几何图形的函数。为了绘制更复杂的图形,必须启用路径。
Quartz 2D编程指南(英文完整版+中文部分翻译版),苹果官方编程指南,详细介绍了如何在iOS和MAC OS上绘图开发部分的知识。
通过4个案例认识quartz2D的图形处理 典型应用:生成圆形头像
这是我在学习ios的过程中写的一个demo,使用Quartz 2D实现动画功能
用QuArtz2D的绘制各种基本图形,简单的demo,各种方法
Quartz 2D Demo @appleDev 官方Quartz2D代码实例
CGContextRef为绘制文字提供了如下函数。 CGAffineTransform CGContextGetTextMatrix(CGContextRef c):获取当前对文本执行变换的变换矩阵。 CGPoint CGContextGetTextPosition(CGContextRef c):获取该CGContextRef...
1. Quartz2D基本概念 2. Quartz2D绘图的基本步骤
Quartz_2D编程指南
To Mac developers, who will bring Quartz alive in innovative ways.