Description描述Little Johnny likes to draw a lot. A few days ago he painted lots of straight lines on his sheet of paper. Then he counted in how many zo...
uva 11520 Fill the Square
In this problem, you have to draw a square using uppercase English Alphabets.
To be more precise, you will be given a square grid with some empty blocks and other...
分类:
其他好文 时间:
2015-01-29 17:49:36
阅读次数:
152
Activity间跳转,在startActivity(intent)后面可以重写public void overridePendingTransition (R.anim.enterAnim, R.anim.exitAnim);其中enterAnim为进入动画,exitAnim为出去动画。在draw...
分类:
移动开发 时间:
2015-01-28 17:39:57
阅读次数:
221
特效油画显示p_w_picpath此效果的彩***,某范围内像素随机处理.产生油画效果.非常酷.试试吧!代码:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Draw..
分类:
其他好文 时间:
2015-01-27 15:08:54
阅读次数:
190
Android的view组件显示主要经过mesure, layout和draw这三个过程。在mesure阶段里调用mesure(int widthSpec, int heightSpec)方法,这个方法是final不能被重写,在这个过程里会调用onMesure(int widthSpec,
int heightSpec)方法。当组件设置好大小后,调用final layout(int l, in...
分类:
移动开发 时间:
2015-01-27 13:34:13
阅读次数:
137
1.主线程调用方法:imageView = new ImageView(this);AsynImageLoader asynImageLoader = new AsynImageLoader();asynImageLoader.showImageAsyn(imageView, URL, R.draw...
分类:
移动开发 时间:
2015-01-26 06:31:48
阅读次数:
268
最近项目用到了附件附件上传功能,因为上传附件想尽量控制在一个控件上传附件并回显在下方的列表中,选择附件则触发上传。刚开始使用了swfupload.js的flash控件进行上传,但是在IE中如果没有相应控件就无法draw出上传控件,应该是浏览器段没有flash控件造成的。最后还是改回htm..
分类:
Web程序 时间:
2015-01-25 22:42:54
阅读次数:
263
uva 131 The Psychic Poker Player
The Psychic Poker Player
In 5-card draw poker, a player is dealt a hand of five cards (which may be looked at). The player may then dis...
分类:
其他好文 时间:
2015-01-24 10:15:34
阅读次数:
165
最近学习css3,就想试着写一个东西出来,看了 http://www.alloyteam.com/2012/10/css3-draw-qq-logo/ 腾讯团队写的一个企鹅logo有感,就写了玛莎拉蒂的logo.上图是实际的效果。demo:http://runjs.cn/detail/2s3vlpb...
分类:
Web程序 时间:
2015-01-22 12:54:37
阅读次数:
138
In the R environment, different packages to draw maps are available. I lost the count by now; surely,spandggmapdeserve consideration. Despite the grea...