Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1446419
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

发布时间:2013-05-01 13:01:50

图标也就是位图,用矩形定义。显示图标时,我们只想改变该矩形中的某些像素。我们想改变的区域称为不透明区域,剩下的区域称为透明区域。屏蔽位图,不透明的区域用的是黑色(0),透明区域用的是白色(1)。......【阅读全文】

阅读(919) | 评论(0) | 转发(0)

发布时间:2013-04-24 14:53:01

1  In most cases the stride is the same as the width. The stride is useful if you are trying to copy/draw a sub-region of a Bitmap. For instance, if you have a 100x100 bitmap and you want to draw the 50x50 top-right corner, you can use a width of 50px and a stride of 100px.2  Stride i.........【阅读全文】

阅读(1114) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册