.NET Framework 1.0 2002 .NET Framework 2.0 2005(泛型支持) .NET 3.0 based on the 2.0 runtime and introduced a new way to create UIs (WPF with XAML and vector-based graphics instead of pixel-based), ...
分类:
Web程序 时间:
2015-02-25 15:43:13
阅读次数:
174
Problem Description
Problems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property o...
分类:
其他好文 时间:
2015-02-25 14:16:04
阅读次数:
178
Time Limit:3000MS Memory Limit:0KBDescriptionBackgroundMany areas of Computer Science use simple, abstract domains for both analytical and empirical s...
Time Limit:3000MS Memory Limit:0KBDescriptionQueues and Priority Queues are data structures which are known to most computer scientists. The Team Queu...
ComputerTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3731Accepted Submission(s): 1886Problem De...
分类:
其他好文 时间:
2015-02-24 19:49:53
阅读次数:
161
Y2K Accounting BugTime Limit:1000MSMemory Limit:65536KTotal Submissions:10945Accepted:5499DescriptionAccounting for Computer Machinists (ACM) has suff...
分类:
其他好文 时间:
2015-02-24 15:05:07
阅读次数:
134
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out's, you...
分类:
其他好文 时间:
2015-02-24 12:38:14
阅读次数:
136
6.4 Canvas绘制的辅助类通过前面对Canvas的介绍,我们明白Canvas可以做很多事,绘画图形,变换等,当然在手机世界里我们看到的远远不是简单的图形就可以表现完全的,还有颜色,字体,等各种各样的元素组成,专门的工作交给专门的类来处理。下面我们介绍一些Canvas常用到的一些辅助类。6.4.1画笔android.graphics.Paint在Canvas绘制的辅助类中,使用频率最多的是画笔...
分类:
其他好文 时间:
2015-02-24 10:19:35
阅读次数:
152
6.4.8区域 android.graphics.Region与Region.Op在Canvas的绘画时,我们可能碰到止需要显示半个矩形,或者显示一部分图片,那么我们就要用到Canvas的设置区域的方法,有clipRect(Rect rect,Region.Op op)、clipRegion(Region region)这两个方法。Region表示的是一个区域和Rect不同的是,它可以表示的一个不...
分类:
其他好文 时间:
2015-02-24 10:18:42
阅读次数:
297
6.4.4路径android.graphics.Path当我们的需求是一个不规则的图形的时候,Canvas的drawRect等方法就不行了,这里就要用到drawPath(Path path, Paint paint)方法来按路径绘画一个形状。Canvas还有一个方法clipPath(Path path)。这个方法用于按照设计的路径来设置Canvas中的有效区域。下面我们就介绍下路径类,它是一个多个...
分类:
其他好文 时间:
2015-02-24 10:18:35
阅读次数:
155