CGContextAddArc :
红线是我们想要画的, sA 是startAngle,
eA 为 endAngle,
r 是半径,
x 和 y 对应参数中的 x 和 y.
如果有前置点,方法将画一条从该点到狐的起点,除非你非常小心,不然这条线不会和弧线同一个方向。
CGContextAddArcToPoint :
...
分类:
其他好文 时间:
2014-05-12 23:09:03
阅读次数:
430
atitit.条形码的原理与生成总结java Barcode4j barcode o5
条形码类库使用报告Barcode4j, ZXing 1
使用成果图片 1
条形码标准code 128和code 39 1
39条码与128条码的区别 2
attilax标准条形码dpi 跟大小标准.. 2
Barcode4j的使用流程 2
Barcode4j的定向attilax标准条形码的设...
分类:
编程语言 时间:
2014-05-14 00:32:51
阅读次数:
550
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3768
Continuous Login
Time Limit: 2 Seconds Memory Limit: 131072 KB Special Judge
Pierre is recently obsessed...
分类:
其他好文 时间:
2014-05-13 07:28:07
阅读次数:
412
JavaScript实现弹窗报错
1、具体错误如下
SCRIPT 5022:cannot call methods on dialog prior to initialization;
attempted to call method 'open'.
2、错误原因
3、解决办法...
分类:
编程语言 时间:
2014-05-13 07:01:27
阅读次数:
463
document.write("**************一.指代当前对象**********************");
function print(str){
document.write(str+"");
};
/*
javascript里面的this可谓是所有语言里最让人费解的了,学习国java或者php的人
在学习javascript的时候会觉得非常莫名其妙,因为...
分类:
编程语言 时间:
2014-05-13 05:15:47
阅读次数:
387
Continuous Login
Time Limit: 2 Seconds Memory Limit: 131072 KB Special Judge
Pierre is recently obsessed with an online game. To encourage users to log in, this game will give user...
分类:
其他好文 时间:
2014-05-14 01:25:00
阅读次数:
396
实现简单的二级级联
.body_tag{
width: 100%;
height: 100%;
}
/**
*
*/
function province()...
分类:
其他好文 时间:
2014-05-13 09:24:01
阅读次数:
243
前言:我的笔记本型号是戴尔Insprion 14R-5437,系统为原装Win8.1,BIOS启动为UEFI...
zTree实现地市县三级级联报错(三)
1、具体报错如下
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-5-11 22:37:22 org.apache.catalina.core.AprLifecy...
分类:
其他好文 时间:
2014-05-13 08:20:27
阅读次数:
661
erlang R17带来了新的socket选项{active,N} ,与{active,once}一起为应用层提供流量控制。为什么会多了这个选项,{active,once}不是可以有效抑制大量socket消息吗?我们知道,{active,once}在每次接收到包都要重新设置active选项,才能继续接收erlang的消息通知。实际上,每次设定{active,once}都意味着调用一次epoll_ctl, 如果请求过于频繁,就会有大量的epoll_ctl调用。erlang目前只有一个线程会收割epoll_wa...
分类:
其他好文 时间:
2014-05-13 08:04:58
阅读次数:
365
Ubuntu下常用软件安装方法小结...
分类:
其他好文 时间:
2014-05-12 23:56:25
阅读次数:
493
流程:
1.点击加载btn发起异步请求post
2.后台处理请求返回数据
3.前端获取数据成功,对数据进行处理...
分类:
Web程序 时间:
2014-05-14 00:05:06
阅读次数:
475
在软件测试中有一种称为杀虫剂悖论(pesticide
paradox)的现象,即对软件进行越多的测试,那么该软件对软件测试人员的测试就越具有免疫力。
首先,我们先来看下什么是杀虫剂悖论,每年各种各样的害处袭击田野和农作物,农业专家们要找到正确的对抗方法,用改良的配方设计出杀虫剂。但是害虫适应了新的杀虫剂,产生了免疫力,使新杀虫剂失效。随后的几年里,老的杀虫剂只能用来杀死没有免疫...
分类:
其他好文 时间:
2014-05-13 09:10:44
阅读次数:
1396
AlienTech for better life!~...
分类:
其他好文 时间:
2014-05-13 23:41:33
阅读次数:
340
楼主让这个问题郁闷了一晚上。。。。。在logcat里明明显示adapter的getview方法里的list大于一条数据 ,但posotion却一直是0.。。。。运行后也只显示list[0]里面的数据。。。。最后的最后原来错误出在布局文件上
我以前的是这样的;
<ScrollView
android:layout_width="fill_parent"
...
分类:
移动开发 时间:
2014-05-12 23:36:45
阅读次数:
386
NYOJ 586 疯牛...
分类:
其他好文 时间:
2014-05-13 05:37:18
阅读次数:
210
最近在Android学习中,碰到一个头疼的问题,众所周知Android是一个开发源代码的平台,网上有很多网友分享的关于各种例子的demo,比如扫描二维码,瀑布流等,对于前人已有的成果,我们应该怎么看待呢,直接copy修改到自己的项目里吗,还是自己要耐心的先理解,然后重新编写一遍?...
分类:
移动开发 时间:
2014-05-13 05:16:46
阅读次数:
263
Run Away
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 5631
Accepted: 1728
Description
One of the traps we will encounter in the Pyramid is located in the ...
分类:
其他好文 时间:
2014-05-13 07:53:49
阅读次数:
362
本段程序主要利用数据结构栈的先进后出特点,实现回溯求解迷宫路径问题。
#include
#include
using namespace std;
//坐标类
struct Point
{
int x;
int y;
};
//地图类
template
struct Map
{
int (*p)[A];
int row;//行数
int col;//列数
};
//start起始点, ...
分类:
其他好文 时间:
2014-05-13 05:25:02
阅读次数:
478
AlienTech for better life!~...
分类:
其他好文 时间:
2014-05-13 00:33:20
阅读次数:
329