BitmapData draw函数使用
来源:互联网 发布:php在线答题 编辑:程序博客网 时间:2024/04/29 00:50
假如有bmp1和bmp2两个bitmapdata对象,现在要把bmp2中(sourceX,sourceY,sourceX+width,sourceY+height)区域缩放scale倍后画到bmp1的(targetX,targetY)位置,则参数设置为:
bmp1.draw(bmp2, new Matrix(scale, 0, 0, scale, targetX-sourceX*scale, targetY-sourceY*scale), null, null, new Rectangle(targetX, targetY, width*scale, height*scale), false);
- BitmapData draw函数使用
- BitmapData.draw
- bitmapdata,draw
- bitmapdata.draw bug 一枚
- bitmapdata.draw bug 一枚
- 强大的bitmapData.draw()
- BitmapData.draw 绘制透明区域
- 对rtmp、NetStream.appendBytes() 使用BitmapData.draw()提示跨域问题的解决办法
- BitmapData.draw比BitmapData.copyPixel能做得更多
- (AS3)BitmapData.draw比BitmapData.copyPixel能做得更多
- 关于bitmapData.draw的一点心得
- SecurityError: Error #2123: 安全沙箱冲突,对NetStream使用BitmapData.draw()时出现的
- 使用C#的BitmapData
- 使用C#的BitmapData
- 如何使用BitmapData类
- 使用C#的BitmapData
- 使用C#的BitmapData
- 使用c#的BitmapData
- 2.3--如何创建 具有 新的文档模板资源ID 的资源?
- 接口能否实例化?
- 委托和事件再探索~~
- SQLite用触发器来替代外键约束
- 将主机名映射到ip地址
- BitmapData draw函数使用
- Java中的参数调用
- 解决ORA-01033: ORACLE initialization or shutdown in progress错误
- 用J2ME做基于手机的C/S模式游戏的流程
- bitmap文件格式
- mysql错误:……is marked as crashed and should be repaired!
- 企业家基因(外一篇)—— 四个字:放手去做
- 激动——第一次用类来A题!纪念下hdu 1575
- BufferedImage 与像素级渲染