1.

为了把二维图形的变化统一在一个坐标系里,引入了齐次坐标的概念,即把一个图形用一个三维矩阵表示,其中第三列总是(0,0,1),用来作为坐标系的标准。所以所有的变化都由前两列完成。

以上参数在矩阵中的表示为:

|a    b    0|

|c    d    0|

|tx   ty   1|

运算原理:原坐标设为(X,Y,1);

|a    b    0|

[X,Y,  1]      |c    d    0|     =     [aX + cY + tx   bX + dY + ty  1] ;

|tx    ty  1|

通过矩阵运算后的坐标[aX + cY + tx   bX + dY + ty  1],我们对比一下可知:

http://blog.csdn.net/x32sky/article/details/43523771

2.

用UIGraphicsBeginImageContextWithOptions 方法 可以设置图片的scale ,UIGraphicsBeginImageContext 默认生成的图片是1scale

http://code4app.com/requirement/56172f8f594b906a0f8b46bf

3.

_writer = [[GPUImageMovieWriter alloc]initWithMovieURL:url size:CGSizeMake(640, 640) fileType:AVFileTypeMPEG4 outputSettings:nil];
_writer.encodingLiveVideo = YES;
_writer.assetWriter.movieFragmentInterval = kCMTimeInvalid;

http://blog.csdn.net/yi215415/article/details/53168179?locationNum=3&fps=1

最新文章

  1. 今天开始Swift学习
  2. 详解MySQL的用户密码过期功能
  3. easyui tree 折叠节点
  4. Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
  5. [CareerCup] 1.2 Reverse String 翻转字符串
  6. MAC常用快捷键
  7. leetcode第八题 String to Integer (atoi) (java)
  8. JS学习之页面加载
  9. day2_python学习笔记_chapter4_标准类型和内建函数
  10. WiX Toolset
  11. ios 贝塞尔画图
  12. 定时任务管理中心(dubbo+spring)-我们到底能走多远系列47
  13. Maven测试篇
  14. k8s通过service访问pod(五)--技术流ken
  15. python基础—字典的使用{}
  16. NodeJS 连接接MySQL
  17. Python—requests模块详解
  18. VS从数据库表生成Model代码
  19. int __get_order(unsigned long size)
  20. [Winform]默认以管理员身份运行程序

热门文章

  1. PAT甲题题解-1013. Battle Over Cities (25)-求联通分支个数
  2. 【MOOC EXP】Linux内核分析实验三报告
  3. 关于 error C2039: “create”: 不是“cocos2d::GLView”的成员的解决方法
  4. 重温jsp①
  5. “数学口袋精灵”第二个Sprint计划(第四天)
  6. (Alpha)Let's-展示博客
  7. java 封装,继承,多态基础
  8. git learn
  9. spirngcloud文件
  10. JAVA的垃圾回收机制(GC)